From 9ae3184b29799178e7403d9847e2722a714db386 Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Wed, 1 Aug 2007 16:22:57 +0000 Subject: [PATCH] one time wx-config invocation speeds compiles --- libs.linux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs.linux b/libs.linux index a809ef1e1a..2cdb9d95c7 100644 --- a/libs.linux +++ b/libs.linux @@ -52,10 +52,12 @@ DEBUG = 0 # common CPPFLAGS to all components, further CPPFLAGS customization in # directory specific makefile.gtk files. 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 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 endif