File: OPT_LDFLAGS.patch

package info (click to toggle)
acpica-unix 20250404-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: ansic: 139,761; sh: 4,385; yacc: 4,377; lex: 1,345; makefile: 1,337
file content (28 lines) | stat: -rw-r--r-- 851 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Allow overriding OPT_LDFLAGS in Makefile.config

Index: acpica-unix-20200528/generate/unix/Makefile.config
===================================================================
--- acpica-unix-20200528.orig/generate/unix/Makefile.config
+++ acpica-unix-20200528/generate/unix/Makefile.config
@@ -23,6 +23,9 @@
 # OPT_CFLAGS can be overridden on the make command line by
 #   adding OPT_CFLAGS="..." to the invocation.
 #
+# OPT_LDFLAGS can be overridden on the make command line by
+#   adding OPT_LDFLAGS="..." to the invocation.
+#
 # Notes:
 #   gcc should be version 4 or greater, otherwise some of the options
 #     used will not be recognized.
@@ -164,6 +167,11 @@ LDFLAGS +=-m32
 endif
 
 #
+# Common linker flags
+#
+OPT_LDFLAGS ?= 
+
+#
 # Optionally disable optimizations. Optimization causes problems on
 # some compilers such as gcc 4.4
 #