Skip to content
Snippets Groups Projects
Commit b424b78d authored by Raymond Toy's avatar Raymond Toy
Browse files

Remove -mtune=generic from Config.x86_common.

Netbsd apparently doesn't like this, so we're moving that option to
the linux and darwin config files.

Reported by Robert Swindells.
parent 75d14d2e
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ CPP_INCLUDE_OPTIONS := -I. -I$(PATH1) -I- ...@@ -54,7 +54,7 @@ CPP_INCLUDE_OPTIONS := -I. -I$(PATH1) -I-
endif endif
CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS) CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS)
CFLAGS += -Wstrict-prototypes -Wall -O2 -g -mtune=generic CFLAGS += -Wstrict-prototypes -Wall -O2 -g
ASFLAGS = -g ASFLAGS = -g
ASSEM_SRC = x86-assem.S ASSEM_SRC = x86-assem.S
......
...@@ -6,7 +6,7 @@ include Config.x86_common ...@@ -6,7 +6,7 @@ include Config.x86_common
MIN_VER = -mmacosx-version-min=10.5 MIN_VER = -mmacosx-version-min=10.5
CPPFLAGS += -DDARWIN $(MIN_VER) -m32 CPPFLAGS += -DDARWIN $(MIN_VER) -m32
CFLAGS += -g3 CFLAGS += -g3 -mtune=generic
ASFLAGS += -g3 $(MIN_VER) ASFLAGS += -g3 $(MIN_VER)
......
# -*- Mode: makefile -*- # -*- Mode: makefile -*-
include Config.x86_common include Config.x86_common
CPPFLAGS += -m32 -rdynamic -D__NO_CTYPE -D_GNU_SOURCE -march=pentium4 -mfpmath=sse CPPFLAGS += -D__NO_CTYPE -D_GNU_SOURCE
CFLAGS += -m32 -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic
UNDEFSYMPATTERN = -Xlinker -u -Xlinker & UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC += linux-stubs.S ASSEM_SRC += linux-stubs.S
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment