mirror of
https://github.com/LIV2/libnix.git
synced 2025-12-06 00:23:08 +00:00
fix compiler warning/error on different type
This commit is contained in:
parent
f1779bdca0
commit
9fd7312b89
3
mkstub
3
mkstub
@ -119,7 +119,7 @@ void ** __ptr_to_${n} = &__export_${n};
|
||||
else
|
||||
|
||||
echo >>$dir/export-$out.c "
|
||||
extern void ${n}();
|
||||
extern void *${n};
|
||||
__attribute__((section(\".dlist_so_export_${n}\")))
|
||||
char const * __name_${n} = \"${n}\";
|
||||
__attribute__((section(\".dlist_so_export_${n}\")))
|
||||
@ -196,5 +196,6 @@ m68k-amigaos-gcc -resident -Os -fomit-frame-pointer export*.c -c
|
||||
popd >/dev/null
|
||||
|
||||
if [[ "$*" != "" ]]; then
|
||||
echo m68k-amigaos-gcc -shared -noixemul $* $dir/export-$out.o -o ${out}.library
|
||||
m68k-amigaos-gcc -shared -noixemul $* $dir/export-$out.o -o ${out}.library
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user