one time wx-config invocation speeds compiles
This commit is contained in:
parent
ad1dcd1bc7
commit
9ae3184b29
|
@ -52,10 +52,12 @@ DEBUG = 0
|
||||||
# common CPPFLAGS to all components, further CPPFLAGS customization in
|
# common CPPFLAGS to all components, further CPPFLAGS customization in
|
||||||
# directory specific makefile.gtk files.
|
# directory specific makefile.gtk files.
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
CPPFLAGS = -Wall -g `wx-config --debug --cxxflags` -fno-strict-aliasing
|
WXXFLAGS := $(shell wx-config --debug --cxxflags)
|
||||||
|
CPPFLAGS = -Wall -g ${WXXFLAGS} -fno-strict-aliasing
|
||||||
LDFLAGS = -g #-v
|
LDFLAGS = -g #-v
|
||||||
else
|
else
|
||||||
CPPFLAGS = -Wall -O2 `wx-config --cxxflags` -fno-strict-aliasing
|
WXXFLAGS := $(shell wx-config --cxxflags)
|
||||||
|
CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing
|
||||||
LDFLAGS = -s #-v
|
LDFLAGS = -s #-v
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue