Stanislav Brabec
012052d45a
- no-pie.patch: build msrtool without PIE/PIC OBS-URL: https://build.opensuse.org/request/show/484272 OBS-URL: https://build.opensuse.org/package/show/hardware/coreboot-utils?expand=0&rev=24
16 lines
667 B
Diff
16 lines
667 B
Diff
Index: coreboot-4.5/util/msrtool/Makefile.in
|
|
===================================================================
|
|
--- coreboot-4.5.orig/util/msrtool/Makefile.in
|
|
+++ coreboot-4.5/util/msrtool/Makefile.in
|
|
@@ -19,8 +19,8 @@ PROGRAM = msrtool
|
|
CC = @CC@
|
|
INSTALL = @INSTALL@
|
|
PREFIX = @PREFIX@
|
|
-CFLAGS = @CFLAGS@ -fno-pic
|
|
-LDFLAGS = @LDFLAGS@
|
|
+CFLAGS = @CFLAGS@ -fno-pic -fno-PIE
|
|
+LDFLAGS = @LDFLAGS@ -no-pie
|
|
|
|
TARGETS = geodegx2.o geodelx.o cs5536.o k8.o intel_pentium3_early.o intel_pentium3.o intel_pentium4_early.o intel_pentium4_later.o intel_core1.o intel_core2_early.o intel_core2_later.o intel_nehalem.o intel_atom.o
|
|
SYSTEMS = linux.o darwin.o freebsd.o
|