From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by sourceware.org (Postfix) with ESMTPS id 55CE7383E81D for ; Wed, 16 Dec 2020 18:56:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 55CE7383E81D Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2093E5345D; Wed, 16 Dec 2020 19:56:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OvGqbFY0c5ze; Wed, 16 Dec 2020 19:56:30 +0100 (CET) From: =?UTF-8?q?=C3=89rico=20Nogueira?= To: elfutils-devel@sourceware.org Cc: =?UTF-8?q?=C3=89rico=20Rolim?= Subject: [PATCH] libcpu: linking i386_gendis requires obstack. Date: Wed, 16 Dec 2020 15:56:14 -0300 Message-Id: <20201216185614.18532-1-ericonr@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 18:56:34 -0000 From: Érico Rolim --- Noticed while building from master today. libcpu/ChangeLog | 4 ++++ libcpu/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index 781c8f41..af7ea96c 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,7 @@ +2020-12-16 Érico Nogueira + + * Makefile.am (i386_gendis_LDADD): Add obstack_LIBS. + 2020-12-16 Dmitry V. Levin * i386_lex.l (invalid_char): Replace gettext(...) with _(...). diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am index 59def7d1..43844ecf 100644 --- a/libcpu/Makefile.am +++ b/libcpu/Makefile.am @@ -86,7 +86,7 @@ i386_lex_CFLAGS = -Wno-unused-label -Wno-unused-function -Wno-sign-compare \ i386_parse.o: i386_parse.c i386.mnemonics i386_parse_CFLAGS = -DNMNES="`wc -l < i386.mnemonics`" i386_lex.o: i386_parse.h -i386_gendis_LDADD = $(libeu) -lm +i386_gendis_LDADD = $(libeu) -lm $(obstack_LIBS) i386_parse.h: i386_parse.c ; -- 2.29.2