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:
parent
2d50569724
commit
0f704b3e05
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue