Browse Source

Add -mpreferred-stack-boundary=2 to i386 CFLAGS as it's almost always a win.

tags/v0.9.3
Holger Lubitz 17 years ago
parent
commit
4ff85d9f15
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/arch/i386/Config

+ 3
- 0
src/arch/i386/Config View File

136
 CFLAGS+=	-march=i386
136
 CFLAGS+=	-march=i386
137
 endif
137
 endif
138
 
138
 
139
+# this is almost always a win. the kernel uses it, too.
140
+CFLAGS+= -mpreferred-stack-boundary=2
141
+
139
 LDFLAGS+=	-N
142
 LDFLAGS+=	-N
140
 
143
 
141
 ifeq "$(shell uname -s)" "FreeBSD"
144
 ifeq "$(shell uname -s)" "FreeBSD"

Loading…
Cancel
Save