Package: scheme2c / 2012.10.14-1

0002-drop-gcc-arch-native-opt.patch Patch series | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
Date: Tue, 19 Jul 2011 18:06:33 +0200
Subject: drop gcc arch native opt

---
 ports/AMD64/makefile-head   |    2 +-
 ports/LINUX/makefile-head   |    2 +-
 ports/OPENBSD/makefile-head |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ports/AMD64/makefile-head b/ports/AMD64/makefile-head
index 911b4ab..669e902 100644
--- a/ports/AMD64/makefile-head
+++ b/ports/AMD64/makefile-head
@@ -4,7 +4,7 @@
 
 # Default flags to use when invoking the C compiler.
 
-CFLAGS = -march=native -Wall -O2 -finline-functions -fno-math-errno -frename-registers
+CFLAGS = -Wall -O2 -finline-functions -fno-math-errno -frename-registers
 LDFLAGS = -lsigsegv
 CC = gcc
 
diff --git a/ports/LINUX/makefile-head b/ports/LINUX/makefile-head
index f13da18..5757b4c 100644
--- a/ports/LINUX/makefile-head
+++ b/ports/LINUX/makefile-head
@@ -4,7 +4,7 @@
 
 # Default flags to use when invoking the C compiler.
 
-CFLAGS = -march=native -Wall -O2 -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32
+CFLAGS = -Wall -O2 -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32
 LDFLAGS = -m32 -lsigsegv
 CC = gcc
 
diff --git a/ports/OPENBSD/makefile-head b/ports/OPENBSD/makefile-head
index 8c7db38..aff1088 100644
--- a/ports/OPENBSD/makefile-head
+++ b/ports/OPENBSD/makefile-head
@@ -4,7 +4,7 @@
 
 # Default flags to use when invoking the C compiler.
 
-CFLAGS = -I/usr/local/include -march=native -Wall -O2 -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32
+CFLAGS = -I/usr/local/include -Wall -O2 -finline-functions -fno-math-errno -frename-registers -fomit-frame-pointer -m32
 LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib -m32 -lsigsegv
 CC = gcc