Debian Codegraph @

debian/patches/OPT_LDFLAGS.patch

raw
1 Allow overriding OPT_LDFLAGS in Makefile.config
2
3 Index: acpica-unix-20200528/generate/unix/Makefile.config
4 ===================================================================
5 --- acpica-unix-20200528.orig/generate/unix/Makefile.config
6 +++ acpica-unix-20200528/generate/unix/Makefile.config
7 @@ -23,6 +23,9 @@
8 # OPT_CFLAGS can be overridden on the make command line by
9 # adding OPT_CFLAGS="..." to the invocation.
10 #
11 +# OPT_LDFLAGS can be overridden on the make command line by
12 +# adding OPT_LDFLAGS="..." to the invocation.
13 +#
14 # Notes:
15 # gcc should be version 4 or greater, otherwise some of the options
16 # used will not be recognized.
17 @@ -164,6 +167,11 @@ LDFLAGS +=-m32
18 endif
19
20 #
21 +# Common linker flags
22 +#
23 +OPT_LDFLAGS ?=
24 +
25 +#
26 # Optionally disable optimizations. Optimization causes problems on
27 # some compilers such as gcc 4.4
28 #