projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61300bb
)
Undefine ASMNAME/NAME/CNAME before defining them
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 6 May 2020 22:31:32 +0000
(
00:31
+0200)
committer
GitHub
<noreply@github.com>
Wed, 6 May 2020 22:31:32 +0000
(
00:31
+0200)
to avoid redefinition warning when environment variables like CFLAGS are being used (fixes #818)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
76d755e
..
0235460
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-1154,6
+1154,7
@@
KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
include $(TOPDIR)/Makefile.$(ARCH)
+CCOMMON_OPT += -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME
CCOMMON_OPT += -DASMNAME=$(FU)$(*F) -DASMFNAME=$(FU)$(*F)$(BU) -DNAME=$(*F)$(BU) -DCNAME=$(*F) -DCHAR_NAME=\"$(*F)$(BU)\" -DCHAR_CNAME=\"$(*F)\"
ifeq ($(CORE), PPC440)