diff options
author | lloyd <[email protected]> | 2010-03-09 02:53:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-09 02:53:56 +0000 |
commit | cdcd3a9aba28cefcccb64f91fb56d3847f6c9130 (patch) | |
tree | 6f4efd137aad848e698f9f4fc48a8bc9145fea12 /src/build-data/cc/gcc.txt | |
parent | 4a9afbb99bb73e43bcb3a30379d6a2dd59dae76a (diff) | |
parent | 3c15bd259f0921f1fa08ec91ee3cf2621c64a02d (diff) |
propagate from branch 'net.randombit.botan' (head 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1)
to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r-- | src/build-data/cc/gcc.txt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 42567ba03..14701718c 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -1,8 +1,6 @@ macro_name GCC -binary_name g++ - -compiler_has_tr1 yes +binary_name g++-4.5 compile_option "-c " output_to_option "-o " @@ -10,7 +8,7 @@ add_include_dir_option -I add_lib_dir_option -L add_lib_option -l -lang_flags "-D_REENTRANT -ansi -Wno-long-long" +lang_flags "-ansi -std=c++0x" warning_flags "-W -Wall" #warning_flags "-Werror -Wextra -Wall -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wno-unused-parameter" @@ -71,6 +69,8 @@ ppc64 -> "-mcpu=SUBMODEL" ppc # Note that the 'linking' bit means "use this for both compiling *and* linking" <mach_abi_linking> +all -> "-pthread" + amd64 -> "-m64" mips64 -> "-mabi=64" s390 -> "-m31" @@ -79,10 +79,6 @@ sparc32 -> "-m32 -mno-app-regs" sparc64 -> "-m64 -mno-app-regs" ppc64 -> "-m64" -# This should probably be used on most/all targets, but the docs are incomplete -openbsd -> "-pthread" -freebsd -> "-pthread" -dragonfly -> "-pthread" -netbsd -> "-pthread -D_NETBSD_SOURCE" +netbsd -> "-D_NETBSD_SOURCE" qnx -> "-fexceptions -D_QNX_SOURCE" </mach_abi_linking> |