浏览代码

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

tags/v0.9.3
Holger Lubitz 17 年前
父节点
当前提交
4ff85d9f15
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/arch/i386/Config

+ 3
- 0
src/arch/i386/Config 查看文件

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

正在加载...
取消
保存