0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

configure: Disable sections for clang.

This commit is contained in:
Jason Volk 2020-02-11 15:21:50 -08:00
parent 2d50569724
commit 0f704b3e05

View file

@ -568,6 +568,12 @@ dnl CXXFLAGS+=" -ffunction-sections"
])
])
AM_COND_IF([CLANG],
[
CXXFLAGS+=" -fno-data-sections"
CXXFLAGS+=" -fno-function-sections"
])
dnl
dnl Compiler intrumentation
dnl