Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/pixman Don't try to override an existi...



details:   https://anonhg.NetBSD.org/src/rev/dc29c7768746
branches:  trunk
changeset: 378871:dc29c7768746
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 26 21:32:49 2021 +0000

description:
Don't try to override an existing -march

diffstat:

 external/mit/xorg/lib/pixman/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 69508673bf67 -r dc29c7768746 external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile     Mon Apr 26 20:01:13 2021 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile     Mon Apr 26 21:32:49 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2021/04/25 23:23:19 christos Exp $
+#      $NetBSD: Makefile,v 1.38 2021/04/26 21:32:49 christos Exp $
 
 NOLINT=        1       # defined
 
@@ -90,7 +90,7 @@ AFLAGS+=      ${${ACTIVE_CC} == "clang" :? -f
 #CPPFLAGS+=    -DUSE_ARM_IWMMXT
 .endif
 
-.if !empty(MACHINE_ARCH:Mmips*64el)
+.if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*)
 # Loongson MMI
 SRCS+=         pixman-mmx.c
 CPPFLAGS+=     -DUSE_LOONGSON_MMI



Home | Main Index | Thread Index | Old Index