components/gnome/gtk2/Makefile
changeset 5917 5d22f319e25b
parent 5895 742f50b07db0
child 6007 4c61ee2c9e6d
equal deleted inserted replaced
5916:7e69cc042bec 5917:5d22f319e25b
    43 ETCDIR.64="$(ETCDIR)/$(MACH64)"
    43 ETCDIR.64="$(ETCDIR)/$(MACH64)"
    44 
    44 
    45 include $(WS_MAKE_RULES)/gnome-component.mk
    45 include $(WS_MAKE_RULES)/gnome-component.mk
    46 
    46 
    47 CFLAGS += $(CPP_XPG6MODE)
    47 CFLAGS += $(CPP_XPG6MODE)
       
    48 
       
    49 # gcc defaults to assuming stacks are 8 byte aligned on x86, but some
       
    50 # important existing binaries use the 4 byte alignment from the SysV ABI
       
    51 # and may segv on instructions like MOVAPS that require correct alignment,
       
    52 # so we override the gcc defaults until gcc fixes
       
    53 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
       
    54 gcc_OPT.i386.32 += -mincoming-stack-boundary=2
    48 
    55 
    49 # Generate man pages.
    56 # Generate man pages.
    50 CONFIGURE_OPTIONS += --enable-man
    57 CONFIGURE_OPTIONS += --enable-man
    51 # Required for other components.
    58 # Required for other components.
    52 CONFIGURE_OPTIONS += --enable-introspection
    59 CONFIGURE_OPTIONS += --enable-introspection