diff options
author | Robert Nagy <robert@openbsd.org> | 2010-11-08 19:39:55 +0100 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2010-11-08 19:39:55 +0100 |
commit | 7a626d7968b9d45eb9dd4fc0a953b02e4ca14559 (patch) | |
tree | a18eae816cbadb0ed35b9da7f6d69c16721f0a61 /solenv/inc/unxobsd.mk | |
parent | 470e4511e328a90c1f8e1ab631b1c3fb87b7246a (diff) |
set a DLLPOSTFIX for OpenBSD and sync unxobsd.mk
Diffstat (limited to 'solenv/inc/unxobsd.mk')
-rw-r--r-- | solenv/inc/unxobsd.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/solenv/inc/unxobsd.mk b/solenv/inc/unxobsd.mk index 974dd4514c51..548be65a23a2 100644 --- a/solenv/inc/unxobsd.mk +++ b/solenv/inc/unxobsd.mk @@ -122,8 +122,12 @@ CFLAGSDBGUTIL= # Compiler flags for enabling optimizations .IF "$(PRODUCT)"!="" CFLAGSOPT=$(CDEFAULTOPT) # optimizing for products -.IF "$(USE_SYSTEM_STL)"!="YES" -CFLAGSOPT+=-fno-strict-aliasing #STLPort headers are full of aliasing warnings +.IF "$(USE_SYSTEM_STL)"!="YES" || "$(CCNUMVER)" <= "000400050000" +#STLPort headers are full of aliasing warnings and +#At least SLED 10.2 gcc 4.3 overly agressively optimizes +#uno::Sequence into junk, so only strict-alias on compiler +#later than 4.5.1 +CFLAGSOPT+=-fno-strict-aliasing .ENDIF .ELSE # "$(PRODUCT)"!="" CFLAGSOPT= # no optimizing for non products @@ -263,5 +267,5 @@ RCSETVERSION= # platform specific identifier for shared libs DLLPRE=lib DLLPOST=.so -DLLPOSTFIX= +DLLPOSTFIX=ob PCHPOST=.gch |