aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2010-05-26 18:28:40 +0100
committerSébastien Fabbro <bicatali@gentoo.org>2010-05-26 18:28:40 +0100
commitb550d9d22ef18ed36809c00990bb84e5fc8c0b0e (patch)
tree022c519316a8754ae7b97df3a43c252dd130b616 /sci-physics/qcl/files/qcl-0.6.3-makefile.patch
parentcoot missing link lib patch (diff)
downloadsci-b550d9d22ef18ed36809c00990bb84e5fc8c0b0e.tar.gz
sci-b550d9d22ef18ed36809c00990bb84e5fc8c0b0e.tar.bz2
sci-b550d9d22ef18ed36809c00990bb84e5fc8c0b0e.zip
qcl fixes for gcc and deps
Diffstat (limited to 'sci-physics/qcl/files/qcl-0.6.3-makefile.patch')
-rw-r--r--sci-physics/qcl/files/qcl-0.6.3-makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-physics/qcl/files/qcl-0.6.3-makefile.patch b/sci-physics/qcl/files/qcl-0.6.3-makefile.patch
new file mode 100644
index 000000000..4d13bb16a
--- /dev/null
+++ b/sci-physics/qcl/files/qcl-0.6.3-makefile.patch
@@ -0,0 +1,22 @@
+--- Makefile.orig 2010-05-26 18:06:39.000000000 +0100
++++ Makefile 2010-05-26 18:17:08.000000000 +0100
+@@ -32,7 +32,7 @@
+
+ #DEBUG = -g -pg -DQCL_DEBUG -DQC_DEBUG
+ #DEBUG = -g -DQCL_DEBUG -DQC_DEBUG
+-DEBUG = -O2 -g -DQCL_DEBUG -DQC_DEBUG
++DEBUG = -DQCL_DEBUG -DQC_DEBUG
+ #DEBUG = -O2
+
+ # Plotting support
+@@ -73,8 +73,8 @@
+
+ #CXX = g++
+ #CPP = $(CC) -E
+-CXXFLAGS = -c $(ARCHOPT) -Wall $(DEBUG) $(PLOPT) $(RLOPT) $(IRQOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
+-LDFLAGS = $(ARCHOPT) -L$(QCDIR) $(DEBUG) $(PLLIB) -lm -lfl -lqc $(RLLIB)
++CXXFLAGS += -c $(PLOPT) $(DEBUG) $(RLOPT) $(IRQOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
++LDFLAGS += -L$(QCDIR) $(PLLIB) -lm -lfl -lqc $(RLLIB)
+
+ FILESCC = $(wildcard *.cc)
+ FILESH = $(wildcard *.h)