[SCM] pd-cyclone/master: Export CFLAGS and LDFLAGS
zmoelnig-guest at users.alioth.debian.org
zmoelnig-guest at users.alioth.debian.org
Mon Dec 9 16:46:46 UTC 2013
The following commit has been merged in the master branch:
commit 20f17768c8bb3dff15fb5c044252fcd74843c96f
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date: Mon Dec 9 16:12:03 2013 +0100
Export CFLAGS and LDFLAGS
in preparation for hardening-flags
diff --git a/debian/rules b/debian/rules
index 76840e3..a6d00cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,8 +18,9 @@ DEB_MAKE_INSTALL_TARGET = DESTDIR=$(CURDIR)/debian/tmp \
WARN_CFLAGS=-Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch
OPT_CFLAGS=-O2 -g -funroll-loops -fomit-frame-pointer -fno-strict-aliasing
INCLUDES=-I. -I$(CURDIR)/shared -I/usr/include/pd
-CFLAGS=$(WARN_CFLAGS) $(OPT_CFLAGS) -fPIC -DUNIX $(INCLUDES)
-DEB_MAKE_EXTRA_ARGS = CFLAGS="$(CFLAGS)"
+DEB_MAKE_EXTRA_ARGS = \
+ CFLAGS="$(WARN_CFLAGS) $(OPT_CFLAGS) -fPIC -DUNIX $(CPPFLAGS) $(INCLUDES) $(CFLAGS)" \
+ LFLAGS="-Wl,--export-dynamic -shared $(LDFLAGS)"
LIBRARY_NAME = cyclone
PACKAGE = pd-$(LIBRARY_NAME)
--
pd-cyclone packaging
More information about the pkg-multimedia-commits
mailing list