don't override CFLAGS for make, just for configure
authorewt <devnull@localhost>
Thu, 9 Apr 1998 13:59:38 +0000 (13:59 +0000)
committerewt <devnull@localhost>
Thu, 9 Apr 1998 13:59:38 +0000 (13:59 +0000)
CVS patchset: 2082
CVS date: 1998/04/09 13:59:38

popt/popt.spec

index 2805b95..487b91e 100644 (file)
@@ -25,10 +25,10 @@ argv[] arrays using shell-like rules.
 
 %prep
 %setup
-./configure --prefix=/usr
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
+make
 
 %install
 make PREFIX=$RPM_BUILD_ROOT install