diff options
| author | joerg <joerg@NetBSD.org> | 2019-11-28 23:01:22 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2019-11-28 23:01:22 +0000 |
| commit | a69440669b0be58d0a34d7977e24ed14179cce88 (patch) | |
| tree | 43050eb5268caaa6bb72a87f191c35cd9ddcf7fc /external/apache2 | |
| parent | b25d4f70cd07e13225381de6c4d19c86affc25a8 (diff) | |
Use -fno-strict-aliasing unconditionally for the cross compiler.
Diffstat (limited to 'external/apache2')
| -rw-r--r-- | external/apache2/llvm/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/apache2/llvm/Makefile.inc b/external/apache2/llvm/Makefile.inc index 802dff3fc43..9a2498b5304 100644 --- a/external/apache2/llvm/Makefile.inc +++ b/external/apache2/llvm/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.3 2019/11/18 19:54:23 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.4 2019/11/28 23:01:22 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= @@ -28,7 +28,7 @@ CLANG_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/tools/clang/include LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR} LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR} HOST_CPPFLAGS+= ${CPPFLAGS} -HOST_CXXFLAGS+= -O2 -fno-rtti -fno-exceptions +HOST_CXXFLAGS+= -O2 -fno-rtti -fno-exceptions -fno-strict-aliasing HOST_CPPFLAGS+= -std=c++14 LLVM_TARGETS= x86,powerpc,sparc,aarch64,arm,mips .else |
