summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-29 14:05:32 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-29 14:05:32 +0100
commit7cffac797b9db0e309c4ee9d036681c8734a4944 (patch)
tree98b5b383a9d01293fac82fbb7cb393515724b781 /sys-apps
parentsys-apps/x86info: add py3.9/py3.10 (diff)
downloadgentoo-7cffac797b9db0e309c4ee9d036681c8734a4944.tar.gz
gentoo-7cffac797b9db0e309c4ee9d036681c8734a4944.tar.bz2
gentoo-7cffac797b9db0e309c4ee9d036681c8734a4944.zip
sys-apps/x86info: fix build on musl
Closes: https://bugs.gentoo.org/713148 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/x86info/files/x86info-1.30-makefile.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/x86info/files/x86info-1.30-makefile.patch b/sys-apps/x86info/files/x86info-1.30-makefile.patch
index e513be7155aa..67d3a9dca421 100644
--- a/sys-apps/x86info/files/x86info-1.30-makefile.patch
+++ b/sys-apps/x86info/files/x86info-1.30-makefile.patch
@@ -7,7 +7,7 @@
+CFLAGS += -DVERSION="$(VERSION)"
-CFLAGS += -Wall -W -g -O2 -D_FORTIFY_SOURCE=2 -I. -Iinclude
-+CFLAGS += -Wall -W -I. -Iinclude
++CFLAGS += -Wall -W -I. -Iinclude -D_GNU_SOURCE=1
ifneq ($(SYSROOT),)
CFLAGS += --sysroot=$(SYSROOT)
endif