diff options
author | lloyd <[email protected]> | 2010-09-07 19:21:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-07 19:21:23 +0000 |
commit | ae945f66fea0c12d886a1f0a04477156e9733222 (patch) | |
tree | b02de414f0a1ef838de93354ca16a632cb28c5aa /src | |
parent | 806b352d34b7a538f35f5f7c009db33b84cecc47 (diff) |
Disable a couple of very noisy warnings which don't provde a huge
amount of value. Add a note that -library=stlport4 may be needed on
Linux (seems to depend on glibc version).
Diffstat (limited to 'src')
-rw-r--r-- | src/build-data/cc/sunstudio.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt index adb015484..91a6ace65 100644 --- a/src/build-data/cc/sunstudio.txt +++ b/src/build-data/cc/sunstudio.txt @@ -13,7 +13,7 @@ check_opt_flags "-xO2" debug_flags -g no_debug_flags "" shared_flags "-KPIC" -warning_flags "+w" +warning_flags "+w -erroff=truncwarn,wnoretvalue" lang_flags "+p -features=extensions -D__FUNCTION__=__func__" ar_command "CC -xar -o" @@ -45,6 +45,7 @@ sparc64 -> "-xchip=SUBMODEL" sparc64- </mach_opt> <mach_abi_linking> +# On Linux, may need -library=stlport4 sparc64 -> "-xarch=v9" amd64 -> "-m64" </mach_abi_linking> |