Changeset 72093 in vbox
- Timestamp:
- May 3, 2018 2:02:30 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r72091 r72093 4834 4834 TEMPLATE_VBOXR3EXE_CXXFLAGS += $(VBOX_GCC_WERR) 4835 4835 endif 4836 ifdef VBOX_WITH_OLD_GLIBC_SUPPORT4837 # Use older versions of APIs which were improved in versions of glibc later4838 # than what we are targetting, and do not use the stack protector, which4839 # needs glibc 2.4 or later.4840 TEMPLATE_VBOXR3EXE_CXXFLAGS.linux = \4841 -include $(PATH_ROOT)/include/iprt/linux/symvers.h \4842 $(VBOX_GCC_fno-stack-protector)4843 TEMPLATE_VBOXR3EXE_CFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.linux)4844 endif4845 4836 TEMPLATE_VBOXR3EXE_CXXFLAGS.x86 = -m32 4846 4837 TEMPLATE_VBOXR3EXE_CXXFLAGS.amd64 = -m64 … … 4874 4865 TEMPLATE_VBOXR3EXE_LDFLAGS.sparc64 = -m64 4875 4866 TEMPLATE_VBOXR3EXE_LDFLAGS.linux = -Wl,-z,noexecstack,-z,relro $(VBOX_LD_as_needed) 4876 ifdef VBOX_WITH_OLD_GLIBC_SUPPORT4877 # The GNU_HASH ELF tag is not supported by older systems.4878 TEMPLATE_VBOXR3EXE_LDFLAGS.linux += -Wl,--hash-style=sysv4879 endif4880 4867 TEMPLATE_VBOXR3EXE_LDFLAGS.solaris = -Wl,-z,ignore # same as VBOX_LD_as_needed 4881 4868 TEMPLATE_VBOXR3EXE_LDFLAGS.debug = $(VBOX_GCC_SANITIZER_FLAGS) … … 6648 6635 endif 6649 6636 6637 ifdef VBOX_WITH_OLD_GLIBC_SUPPORT 6638 # Use older versions of APIs which were improved in versions of glibc later 6639 # than what we are targetting, and do not use the stack protector, which 6640 # needs glibc 2.4 or later. 6641 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS.linux = \ 6642 -include $(PATH_ROOT)/include/iprt/linux/symvers.h \ 6643 $(VBOX_GCC_fno-stack-protector) 6644 TEMPLATE_VBOXGUESTR3EXE_CFLAGS.linux = $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS.linux) 6645 # The GNU_HASH ELF tag is not supported by older systems. 6646 TEMPLATE_VBOXGUESTR3EXE_LDFLAGS.linux += -Wl,--hash-style=sysv 6647 endif 6648 6650 6649 # 6651 6650 # Template for building normal R3 programs for the guest additions.
Note:
See TracChangeset
for help on using the changeset viewer.