Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#266 unix.mak sets wrong flags for gcc on solari

Bug Fix
open
nobody
PWLib (79)
5
2009-05-19
2009-05-19
No

make/unix.mak has:
ifneq ($(OSTYPE),Darwin)
ifeq ($(OSTYPE),solaris)
STDCCFLAGS += -xO3
else
STDCCFLAGS += -Os
endif
else
STDCCFLAGS += -O2
endif

which sets the -xO3 for solaris, but this should only be set for Sun Studio, ie when USE_GCC=no.

Discussion