projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0938b03
)
LoongArch: Fix redefinition of "PACKAGE".
author
liuzhensong
<liuzhensong@loongson.cn>
Tue, 30 Aug 2022 03:53:15 +0000
(11:53 +0800)
committer
liuzhensong
<liuzhensong@loongson.cn>
Tue, 30 Aug 2022 11:06:56 +0000
(19:06 +0800)
Running configure and make in binutils-gdb.
$ ./configure
$ make
In file included from ./as.h:37,
from ./config/loongarch-lex.l:21,
from config/loongarch-lex-wrapper.c:20:
./config.h:206: error: “PACKAGE” redefined [-Werror]
#define PACKAGE "gas"
...
gas/config
* loongarch-lex-wrapper.c
gas/config/loongarch-lex-wrapper.c
patch
|
blob
|
history
diff --git
a/gas/config/loongarch-lex-wrapper.c
b/gas/config/loongarch-lex-wrapper.c
index 3bb0b14c680912b446b9d8681b7a06dca26fb23b..4ddeeb73c9b5c46fa937e08c9710e66c012800a1 100644
(file)
--- a/
gas/config/loongarch-lex-wrapper.c
+++ b/
gas/config/loongarch-lex-wrapper.c
@@
-16,5
+16,5
@@
along with this program; see the file COPYING3. If not,
see <http://www.gnu.org/licenses/>. */
-#include "
sysdep
.h"
+#include "
config
.h"
#include "config/loongarch-lex.c"