summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 6e0b453..6374d3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ ifneq (,$(filter custom,$(DEB_BUILD_OPTIONS)))
VERSION := $(NOEPOCH_VERSION)
endif
-MACHINE := 486
+MACHINE := 686
pkg := gnumach-image-$(VERSION)-$(MACHINE)
pkg_xen := gnumach-image-$(VERSION)-xen-$(MACHINE)
@@ -38,7 +38,7 @@ D_XEN_DBG := $(D)-xen-dbg
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-CFLAGS = -Wall -g -pipe -fno-strict-aliasing
+CFLAGS = -Wall -g -pipe -fno-strict-aliasing -march=i$(MACHINE)
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0