mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 19:28:52 +02: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
|
||||||
dnl Compiler intrumentation
|
dnl Compiler intrumentation
|
||||||
dnl
|
dnl
|
||||||
|
|
Loading…
Reference in a new issue