Commit 5c204244 authored by Vincent Cheng's avatar Vincent Cheng

re-add hardening.patch

parent f51924a0
......@@ -2,7 +2,7 @@ primus (0~20150328-1) unstable; urgency=medium
* New upstream git snapshot.
- rebase on d1afbf6fce
- remove all patches, applied upstream
- refresh hardening.patch
* Build with PRIMUS_UPLOAD=0 now that xserver-xorg-video-intel in sid has
SNA enabled by default.
* Add dependency on libgl1-mesa-glx to primus-libs. (LP: #1383909)
Description: use all variables containing hardening flags
Author: Andreas Beckmann <>
Last-Update: 2015-07-25
--- a/Makefile
+++ b/Makefile
@@ -30,4 +30,4 @@ CXXFLAGS += -DPRIMUS_libGLd='"$(PRIMUS_libGLd)"'
$(LIBDIR)/ libglfork.cpp
mkdir -p $(LIBDIR)
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o $@ $< -lX11 -lpthread -lrt
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fvisibility=hidden -fPIC -shared -Wl,-Bsymbolic -o $@ $< $(LDFLAGS) -lX11 -lpthread -lrt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment