Fixed compatibility of output.
[AROS.git] / config / specs.in
blob908f423f5d930abb7194e9f7a9f99289fd07bc92
1 *cpp:
2 %(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} %{nix:-D__NIX__} %(aros_predefines) %(aros_include) -Uunix -U__unix__ -U__unix -U@aros_host_arch@ -U__@aros_host_arch@ -U__@aros_host_arch@__ 
4 *ssp_default:
7 *aros_include:
8 %{!nostdinc:%{!nostdc:%{!noposixc:-isystem @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/include/aros/posixc} -isystem @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/include/aros/stdc} -isystem @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/include}
10 *endfile:
11 -lautoinit
13 *link:
14 -m @aros_object_format@ -L@AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib
16 *lib:
17 -lmui -lamiga -larossupport -lamiga %{!nostdc:%{!noposixc:-lposixc} -lstdcio -lstdc} -lcodesets -lkeymap -lexpansion -lcommodities -ldiskfont -lasl -lmuimaster -ldatatypes -lcybergraphics -lworkbench -licon -lintuition -lgadtools -llayers -laros -lpartition -liffparse -lgraphics -llocale -ldos -lutility -loop %{!nosysbase:-lexec} -llibinit -lautoinit %{nostdc:-lstdc.static}
19 *libgcc:
20 @aros_arch_libs@ -lgcc
22 *startfile:
23 @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/startup.o %{detach:@AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/detach.o} %{nix:@AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/nixmain.o}
25 *aros_predefines:
26 -D__ELF__ @gcc_target_cpu@ -A-system -Asystem(posix) -D__AROS__ -DAMIGA -D_AMIGA -D__AROS_ARCH_@aros_target_arch@__
28 *predefines:
29 %(aros_predefines)
31 *cross_compile:
34 *linker:
35 @AROS_BUILDDIR@/bin/@aros_host_arch@-@aros_host_cpu@/tools/collect-aros @ignore_undefined_symbols@