forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-embedded/powersoftplus-libftdi: port to EAPI 7
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 <[email protected]>
- Loading branch information
1 parent
328e8a1
commit 835ffbd
Showing
2 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
dev-embedded/powersoftplus-libftdi/files/powersoftplus-libftdi-0.1.8-LDFLAGS.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters