Kaydet (Commit) 848b6cb2 authored tarafından Robert Nagy's avatar Robert Nagy

set a DLLPOSTFIX for OpenBSD and sync unxobsd.mk

üst 8cbdb7f0
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment