Package: msrtool / 1:20141027-1.1

fix-pie.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Don't build with -fno-pic
 -fno-pic isn't needed, and it breaks building when
 the compiler defaults to PIE.
Author: Adrian Bunk <bunk@stusta.de>
Bug-Debian: https://bugs.debian.org/837570

--- msrtool-20141027.orig/Makefile.in
+++ msrtool-20141027/Makefile.in
@@ -23,7 +23,7 @@ PROGRAM = msrtool
 CC      = @CC@
 INSTALL = @INSTALL@
 PREFIX  = @PREFIX@
-CFLAGS  = @CFLAGS@ -fno-pic
+CFLAGS  = @CFLAGS@
 LDFLAGS = @LDFLAGS@
 
 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