瀏覽代碼

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

tags/v0.9.3
Holger Lubitz 18 年之前
父節點
當前提交
4ff85d9f15
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/arch/i386/Config

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

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…
取消
儲存