mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/339701 Closes: https://bugs.gentoo.org/742203 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
24 lines
572 B
Diff
24 lines
572 B
Diff
diff --git a/libftdi/lib_table/Makefile b/libftdi/lib_table/Makefile
|
|
index cf4316b..dd393b8 100644
|
|
--- a/libftdi/lib_table/Makefile
|
|
+++ b/libftdi/lib_table/Makefile
|
|
@@ -1,15 +1,15 @@
|
|
# which compiler
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
|
|
VERSION = _RELEASE
|
|
|
|
LIBNAME = libd2xx_table.so
|
|
|
|
-CFLAGS = -DLINUX -D$(VERSION)
|
|
+CFLAGS += -DLINUX -D$(VERSION)
|
|
|
|
$(LIBNAME): ftdi_table.o
|
|
|
|
- $(CC) -Wall -shared -fPIC -o $(LIBNAME) ftdi_table.o
|
|
+ $(CC) -Wall -shared -fPIC ${LDFLAGS} -o $(LIBNAME) ftdi_table.o
|
|
|
|
ftdi_table.o: ftdi_table.c
|
|
$(CC) -I. $(CFLAGS) -c -fPIC ftdi_table.c
|