aboutsummaryrefslogtreecommitdiff
path: root/irc/bitlbee-otr/files/patch-configure
blob: d0eac2f2bfd8acb795356cca2c83bef854f791aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	Tue Jun  8 09:55:00 2004
+++ configure	Tue Jun  8 09:54:50 2004
@@ -88,7 +88,7 @@
 
 DESTDIR=
 LFLAGS=
-EFLAGS=
+EFLAGS=$LDFLAGS
 EOF
 
 cat<<EOF>config.h
@@ -113,7 +113,7 @@
 	echo 'DEBUG=1' >> Makefile.settings
 	echo '#define DEBUG' >> config.h
 else
-	echo 'CFLAGS=-O3' >> Makefile.settings
+	echo "CFLAGS=$CPPFLAGS" >> Makefile.settings
 fi
 
 echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings