Strict-aliasing and 64-bit fixes.
[cake.git] / config / specs.in
blob98e46bb9f4fe915cbcfb32d050c2777e5b7f9ca5
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 %{!nostdinc:-isystem @TOPDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/include -isystem @aros_target_cc_includes@}
10 *endfile:
11 -lautoinit
13 *link:
14 -m @aros_object_format@ -L@TOPDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib
16 *lib:
17 -lamiga -larossupport -larosc -lm
19 *startfile:
20 %{detach:@TOPDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/detach.o}  @TOPDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/startup.o %{nix:@TOPDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib/nixmain.o}
22 *aros_predefines:
23 -D__ELF__ -D__@gcc_target_cpu@__ -A-system -Asystem(posix) -D__AROS__ -DAMIGA -D_AMIGA -D__AROS_ARCH_@aros_target_arch@__
25 *predefines:
26 %(aros_predefines)
28 *cross_compile:
31 .cd:
32 @TOPDIR@/bin/@aros_host_arch@-@aros_host_cpu@/tools/gcccatcomp.sh %i @TOPDIR@/bin/@aros_host_arch@-@aros_host_cpu@/tools %g.c %{S:-S} %{!S:-c} %{o: %{o*}} %{!o:-o %{S: %b.s} %{!S:%{c: %b%O} %{!c:%w%g%O}}} %{pipe} %(aros_include) 
34 *linker:
35 @TOPDIR@/bin/@aros_host_arch@-@aros_host_cpu@/tools/collect-aros @ignore_undefined_symbols@