Module Name: src Committed By: joerg Date: Thu Nov 28 23:01:22 UTC 2019
Modified Files: src/external/apache2/llvm: Makefile.inc Log Message: Use -fno-strict-aliasing unconditionally for the cross compiler. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/apache2/llvm/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/apache2/llvm/Makefile.inc diff -u src/external/apache2/llvm/Makefile.inc:1.3 src/external/apache2/llvm/Makefile.inc:1.4 --- src/external/apache2/llvm/Makefile.inc:1.3 Mon Nov 18 19:54:23 2019 +++ src/external/apache2/llvm/Makefile.inc Thu Nov 28 23:01:22 2019 @@ -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_OB 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