- Timestamp:
- May 4, 2018 4:00:01 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r71708 r72114 68 68 supc++ \ 69 69 gcc_eh 70 ifdef VBOX_WITH_OLD_GLIBC_SUPPORT 71 # This has to be in LIBS, so as to be linked in after supc++ and gcc_eh, which 72 # depend on the symbols it provides. Static supc++ and gcc_eh on at least 73 # Ubuntu 17.04 contain references to __sprintf_chk and __stack_chk_fail. 74 # Furthermore, they contain references to memcpy, which needs to be resolved 75 # to memcpy@GLIBC_2.2.5, which we solve in a not-very-satisfactory way with a 76 # wrapper. 77 ifeq ($(KBUILD_TARGET),linux) 70 # This has to be in LIBS, so as to be linked in after supc++ and gcc_eh, which 71 # depend on the symbols it provides. Static supc++ and gcc_eh on at least 72 # Ubuntu 17.04 contain references to __sprintf_chk and __stack_chk_fail. 73 # Furthermore, they contain references to memcpy, which needs to be resolved 74 # to memcpy@GLIBC_2.2.5, which we solve in a not-very-satisfactory way with a 75 # wrapper. 76 ifeq ($(KBUILD_TARGET),linux) 78 77 VBoxClient_LIBS += \ 79 78 $(PATH_ROOT)/src/VBox/Additions/x11/VBoxClient/chk_stubs.c 80 79 VBoxClient_LDFLAGS.amd64 += \ 81 80 -Wl,--wrap=memcpy 82 endif83 81 endif 84 82
Note:
See TracChangeset
for help on using the changeset viewer.