]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- fixed debug CFLAGS/CXXFLAGS/FFLAGS in macros.pld rpm-4_0_2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 16 Mar 2001 18:04:50 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rpm-build Requires: libtool - many libraries use it
- release 2

Changed files:
    rpm.macros -> 1.43

rpm.macros

index a55a3960d109753c2da4726249acbd41b6632d3c..b97eeda130a4e21b0d6d9951b7972c2478744c1f 100644 (file)
@@ -2,9 +2,9 @@
 %configure { \
  if [ -n "$LINGUAS" ]; then unset LINGUAS; fi; \
  LDFLAGS="${LDFLAGS:-%{!?debug: -s}}" ; export LDFLAGS ; \
- CFLAGS="${CFLAGS:-%optflags}%{?debug: -g -O0}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}%{?debug: -g -O0}" ; export CXXFLAGS ; \
- FFLAGS="${FFLAGS:-%optflags}%{?debug: -g -O0}" ; export FFLAGS ; \
+ CFLAGS="${CFLAGS:-%{!?debug:%optflags}%{?debug: -g -O0}}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%{!?debug:%optflags}%{?debug: -g -O0}}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%{!?debug:%optflags}%{?debug: -g -O0}}" ; export FFLAGS ; \
  ./configure %{_target_platform} \
        --prefix=%{_prefix} \
        --exec-prefix=%{_exec_prefix} \
This page took 0.065889 seconds and 4 git commands to generate.