Parcourir la source

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

tags/v0.9.3
Holger Lubitz il y a 17 ans
Parent
révision
4ff85d9f15
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      src/arch/i386/Config

+ 3
- 0
src/arch/i386/Config Voir le fichier

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

Chargement…
Annuler
Enregistrer