diff options
author | liuzhensong <liuzhensong@loongson.cn> | 2022-08-30 11:53:15 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2022-08-30 19:06:56 +0800 |
commit | df4febc60037a1f357414667ff07498cf225c22e (patch) | |
tree | c2b67a1ff08d09603b83cf5e161e1299bfec7df2 /gas | |
parent | 0938b032daa52129b4215d8e0eedb6c9804f5280 (diff) | |
download | gdb-df4febc60037a1f357414667ff07498cf225c22e.zip gdb-df4febc60037a1f357414667ff07498cf225c22e.tar.gz gdb-df4febc60037a1f357414667ff07498cf225c22e.tar.bz2 |
LoongArch: Fix redefinition of "PACKAGE".
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
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/loongarch-lex-wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/loongarch-lex-wrapper.c b/gas/config/loongarch-lex-wrapper.c index 3bb0b14..4ddeeb7 100644 --- 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" |