--- VAAL.orig/Makefile.in 2009-04-02 21:43:42.000000000 +0200 +++ VAAL.orig/Makefile.in 2010-02-14 14:20:26.222370302 +0100 @@ -161,12 +161,16 @@ COMPILER = @CC@ CPLUSPLUS = @CXX@ +CFLAGS = @CFLAGS@ +CXXFLAGS = @CXXFLAGS@ +LDFLAGS = @LDFLAGS@ + # QUIET=yes causes the compiler to be less verbose about warnings. QUIET = no # DEBUG=yes forces out-of-date executables to be built with symbolic # debugging information. Any other value is ignored. -DEBUG = yes +DEBUG = no # OPTIM= forces user-defined optimizations to be used, # rather than the compiler-specific default. @@ -174,7 +178,7 @@ # If OPTIM=none, then no optimization is used. # If unset, defaults are used. # -fno-exceptions -OPTIM = +OPTIM = none # PROFILE=yes builds sampled-profiling (i.e. gprof) executables. Any other # value is ignored. @@ -317,6 +321,7 @@ # Setup final compilation options: CPP_OPTIONS = \ + $(CXXFLAGS) \ $(SYS_WARN) \ $(SYS_OPT) \ $(SYS_DEBUG) \ @@ -328,6 +333,7 @@ @INCLUDES@ LINK_OPTIONS = \ + $(LDFLAGS) \ $(SYS_DEBUG) \ $(SYS_LINK) \ $(OMP_LINK) \ @@ -406,12 +406,12 @@ $(CPLUSPLUS) $(CPPO) $(CPPC) $(SYS_LANG) $(MAKEDEPEND_OPTS) -o $(BIN)/MakeDepend $(SRC)/MakeDepend.cc checkLock: $(SRC)/util/checkLock.cc - $(CPLUSPLUS) $(SRC)/util/checkLock.cc -o $(BIN)/checkLock + $(CPLUSPLUS) $(CXXFLAGS) $(SRC)/util/checkLock.cc $(LDFLAGS) -o $(BIN)/checkLock random/Random.o: random/Random.cc @ mkdir -p $(OBJ)/${@D} cp $(SRC)/random/Random.cc $(SRC)/random/Random.c - $(CC) $(SYS_LANG) -c $(SRC)/random/Random.cc -w -Drandom=randomx -Dsrandom=srandomx -o $(OBJ)/random/Random.o + $(CC) $(CFLAGS) $(SYS_LANG) -c $(SRC)/random/Random.cc -w -Drandom=randomx -Dsrandom=srandomx -o $(OBJ)/random/Random.o rm $(SRC)/random/Random.c MemTracker.o: MemTracker.cc