File: ensure_build_options.patch

package info (click to toggle)
epcr 2.3.12-1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 916 kB
  • sloc: cpp: 5,730; ansic: 231; makefile: 31; python: 26; sh: 12
file content (16 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 22 Feb 2011 09:09:21 +0100
Bug-Debian: https://bugs.debian.org/614482
Ensure Build options will be propagated properly

--- e-PCR-2.3.12.orig/Makefile
+++ e-PCR-2.3.12/Makefile
@@ -29,7 +29,7 @@
 
 all links dirs clean dist clean-all install install-lib dist-clean depend: 	
 	for i in $(LIBS:%=lib%) $(BINS) ; do \
-		$(MAKE) -ef $(srcdir)/stand/Makefile.$$i $@ ; \
+		$(MAKE) -ef $(srcdir)/stand/Makefile.$$i CXXFLAGS='$(CFLAGS)' $@ ; \
 	done
 
 #