1
0
coreboot-utils/no-pie.patch
Ismail Dönmez 7229c10e43 Accepting request 571210 from home:mnhauke
- Update to 4.7
  * Full changelog:
    https://coreboot.org/releases/coreboot-4.7-relnotes.txt
- Rebase patches:
  * k8resdump.diff
  * no-pie.patch
  * do-explicit-fallthrough.patch
- Adjust CFLAGS for util/ifdtool

- verify source signature

- Update to 4.6
  * Full changelog:
    https://www.coreboot.org/releases/coreboot-4.6-relnotes.txt
- Fix URL
- Build with intelmetool

OBS-URL: https://build.opensuse.org/request/show/571210
OBS-URL: https://build.opensuse.org/package/show/hardware/coreboot-utils?expand=0&rev=28
2018-01-31 15:30:55 +00:00

17 lines
618 B
Diff

diff --git a/util/msrtool/Makefile.in b/util/msrtool/Makefile.in
index 3d50f4c..adda869 100644
--- a/util/msrtool/Makefile.in
+++ b/util/msrtool/Makefile.in
@@ -19,8 +19,9 @@ PROGRAM = msrtool
CC = @CC@
INSTALL = @INSTALL@
PREFIX = @PREFIX@
-CFLAGS = @CFLAGS@
-LDFLAGS = @LDFLAGS@
+CFLAGS = @CFLAGS@ -fPIC -fno-PIE
+LDFLAGS = @LDFLAGS@ -fPIC -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