]> git.pld-linux.org Git - packages/acpica.git/blame - OPT_LDFLAGS.patch
- updated to 20170303 with current Fedora patches
[packages/acpica.git] / OPT_LDFLAGS.patch
CommitLineData
77760c90
JB
1Index: acpica-unix2-20170303/generate/unix/Makefile.config
2===================================================================
3--- acpica-unix2-20170303.orig/generate/unix/Makefile.config
4+++ acpica-unix2-20170303/generate/unix/Makefile.config
f3dfbd7c
ER
5@@ -23,6 +23,9 @@
6 # OPT_CFLAGS can be overridden on the make command line by
7 # adding OPT_CFLAGS="..." to the invocation.
8 #
9+# OPT_LDFLAGS can be overridden on the make command line by
10+# adding OPT_LDFLAGS="..." to the invocation.
11+#
12 # Notes:
13 # gcc should be version 4 or greater, otherwise some of the options
14 # used will not be recognized.
77760c90 15@@ -43,7 +46,7 @@ CC = gcc
f3dfbd7c
ER
16 OBJDIR = obj
17 BINDIR = bin
18 COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
19-LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS)
20+LINKPROG = $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS) $(OPT_LDFLAGS)
21 PREFIX ?= /usr
22 INSTALLDIR = $(PREFIX)/bin
23 UNAME_S := $(shell uname -s)
77760c90
JB
24@@ -157,6 +160,11 @@ LDFLAGS +=-m32
25 endif
f3dfbd7c
ER
26
27 #
28+# Common linker flags
29+#
30+OPT_LDFLAGS ?=
31+
32+#
33 # Optionally disable optimizations. Optimization causes problems on
34 # some compilers such as gcc 4.4
35 #
This page took 0.111305 seconds and 4 git commands to generate.