Makefile 566 B

12345678910111213
  1. # ==========================================================================
  2. # Build system
  3. # ==========================================================================
  4. # Allow i486 insns (basically, bswap insn)
  5. # Do not try to tune for 486+ (might add padding)
  6. CFLAGS += $(call cc-option,-march=i486 -mtune=i386,)
  7. ifeq ($(CONFIG_STACK_OPTIMIZATION_386),y)
  8. # -mpreferred-stack-boundary=2 is essential in preventing gcc 4.2.x
  9. # from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE).
  10. CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2,)
  11. endif