mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/927935 Closes: https://bugs.gentoo.org/934210 Closes: https://bugs.gentoo.org/933273 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/39952 Signed-off-by: Michał Górny <mgorny@gentoo.org>
20 lines
807 B
Diff
20 lines
807 B
Diff
From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
|
|
Bug: https://bugs.gentoo.org/927935
|
|
Bug: https://bugs.gentoo.org/934210
|
|
|
|
Remove debugging warning treatment CFLAGS which should only be set by
|
|
make.conf. Move linker flags from CFLAGS to LDFLAGS.
|
|
|
|
--- a/leechcore_device_qemu/Makefile
|
|
+++ b/leechcore_device_qemu/Makefile
|
|
@@ -1,7 +1,7 @@
|
|
CC=gcc
|
|
# -Wno-unused-variable -> unused variable in leechcore.h
|
|
-CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -lrt -l:leechcore.so -L. -lm -fvisibility=hidden -g -Wall -Werror -Wextra -Wno-unused-variable
|
|
-LDFLAGS += -Wl,-rpath,'$$ORIGIN' -g -ldl -shared
|
|
+CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
|
|
+LDFLAGS += -Wl,-rpath,'$$ORIGIN' -lrt -lm -ldl -shared -L. -lleechcore.so
|
|
OBJ = leechcore_device_qemu.o
|
|
|
|
%.o: %.c $(DEPS)
|