Sfoglia il codice sorgente

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

tags/v0.9.3
Holger Lubitz 17 anni fa
parent
commit
4ff85d9f15
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/arch/i386/Config

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

@@ -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"

Loading…
Annulla
Salva