Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/llvm Use -fno-strict-aliasing unconditional...



details:   https://anonhg.NetBSD.org/src/rev/80bf20743b64
branches:  trunk
changeset: 465565:80bf20743b64
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Nov 28 23:01:22 2019 +0000

description:
Use -fno-strict-aliasing unconditionally for the cross compiler.

diffstat:

 external/apache2/llvm/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 07ee8e1c6d4b -r 80bf20743b64 external/apache2/llvm/Makefile.inc
--- a/external/apache2/llvm/Makefile.inc        Thu Nov 28 19:59:48 2019 +0000
+++ b/external/apache2/llvm/Makefile.inc        Thu Nov 28 23:01:22 2019 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index