add CPPFLAGS=-std=c++0x for debian and rpm package builds ; refs #26

master
Marc Wäckerlin 12 years ago
parent 8558d370f0
commit b2da72f2d4
  1. 2
      debian/rules
  2. 1
      libpcscxx.spec.in

2
debian/rules vendored

@ -40,7 +40,7 @@ endif
ifneq "$(wildcard /usr/share/misc/config.guess)" "" ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess cp -f /usr/share/misc/config.guess config.guess
endif endif
CPPFLAGS=-DALLOW_SSL_0_8 ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" "CPPFLAGS=-DALLOW_SSL_0_8 -std=c++0x" ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
# does not work: LDFLAGS="-Wl,-z,defs" # does not work: LDFLAGS="-Wl,-z,defs"

@ -22,6 +22,7 @@ This package contains only the shared libraries required at runtime.
%prep %prep
%setup -q %setup -q
CPPFLAGS=-std=c++0x \
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \ --docdir=/usr/share/doc/packages/@PACKAGENAME@ \
--libdir=/usr/%_lib --libdir=/usr/%_lib

Loading…
Cancel
Save