revert between 56095 -> 55830 in arch
[AROS.git] / tools / sdk / scripts / specs.in
blobc19aa9402defcc70821ce89c6016f91bce7050aa
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)
4 *aros_include:
5 %{!nostdinc:%{!nostdc:%{!noposixc:-isystem @aros_sdk_path@/@cc_cpu@-aros/include/aros/posixc} -isystem @aros_sdk_path@/@cc_cpu@-aros/include/aros/stdc} -isystem @aros_sdk_path@/@cc_cpu@-aros/include -isystem @cc_include@}
7 *endfile:
8 -lautoinit
10 *link:
11 -m @ld_emu@ -L@aros_sdk_path@/@cc_cpu@-aros/lib
13 *lib:
14 -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}
16 *startfile:
17 @aros_sdk_path@/@cc_cpu@-aros/lib/startup.o %{detach:@aros_sdk_path@/@cc_cpu@-aros/lib/detach.o} %{nix:@aros_sdk_path@/@cc_cpu@-aros/lib/nixmain.o}
19 *aros_predefines:
20 -D__AROS__ -DAMIGA -D_AMIGA
22 *predefines:
23 %(aros_predefines)
25 *cross_compile:
28 *linker:
29 @aros_sdk_path@/@cc_cpu@-aros/lib/gcc-lib/collect-aros