summaryrefslogtreecommitdiff
path: root/sys-apps/dchroot/files/dchroot-0.12.1-make.patch
blob: 1c6be7a65c91b354b966419300ae6e0bb9fbb957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/722920
https://bugs.gentoo.org/824542
--- a/Makefile.in
+++ b/Makefile.in
@@ -4,8 +4,9 @@
 
 INSTALL=install
-CFLAGS=-Wl,-z,now -O2 -Wall -Wstrict-prototypes -Werror -g \
+CC := @CC@
+CFLAGS := @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ \
 	-DDCHROOT_VERSION="\"@DCHROOT_VERSION@\""
 
-all: dchroot
+all: dchroot docs
 
 docs: dchroot.1