You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/reduce/files/3.14.080821-CFLAGS.patch

23 lines
736 B

diff --git a/reduce_src/Makefile b/reduce_src/Makefile
index 598e367..067ace4 100644
--- a/reduce_src/Makefile
+++ b/reduce_src/Makefile
@@ -12,7 +12,7 @@ PROG_FLGS = -DAROMATICS_ACCEPT_HBONDS \
# -DDEBUGMOVABLENODE -DDEBUGDOTCOUNTS
# -DMINPREDEFINED -DMAXPREDEFINED\
-CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
+CXXFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC) $(DICT_LOCOLD)\
-I$(PDBHOME) -I$(TOOLHOME)
# -Wall
@@ -26,7 +26,7 @@ OBJLIST = GraphToHoldScores.o reduce.o CTab.o ElementInfo.o StdResH.o ResBlk.o A
CXX = g++
.cpp.o:
- $(CXX) -c $*.cpp $(CFLAGS)
+ $(CXX) -c $*.cpp $(CXXFLAGS)
OPT = -O3
DEBUG = $(CXXDEBUGFLAGS)