diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:06:35 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-05-30 18:06:35 +0200 |
commit | e3b2bb78e19b155a46379b64dcc13699399a32cc (patch) | |
tree | 25603e46871e81476e955d87eac51089026226eb /contrib/dlmalloc | |
parent | ac772d940e60e11f4cacc3aab8aca9ad4d7b5e4e (diff) | |
download | sciteco-e3b2bb78e19b155a46379b64dcc13699399a32cc.tar.gz |
fixed Clang builds
`-fno-optimize-strlen` is not supported on Clang and there is no way
to ignore unknown arguments.
Diffstat (limited to 'contrib/dlmalloc')
-rw-r--r-- | contrib/dlmalloc/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/dlmalloc/Makefile.am b/contrib/dlmalloc/Makefile.am index e575683..8df52cb 100644 --- a/contrib/dlmalloc/Makefile.am +++ b/contrib/dlmalloc/Makefile.am @@ -14,8 +14,9 @@ AM_CPPFLAGS = -DINSECURE='defined(NDEBUG)' -DNO_MALLINFO=1 -DNO_MALLOC_STATS=1 \ # FIXME: This optimization is still broken as of GCC v9.3.0. # This is a known GCC bug, triggered by memset() in calloc(). # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 -# FIXME: This must not be passed on Clang +if !CLANG AM_CFLAGS = -fno-optimize-strlen +endif noinst_LTLIBRARIES = libdlmalloc.la if REPLACE_MALLOC |