diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 05:12:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 05:12:09 +0100 |
commit | d49d63ee52f4026f7871f4ce062c172ba5e62b74 (patch) | |
tree | 8651e664517755edac13eef87d2f4dfb9ad3e968 /dev-python/leechcorepyc/files | |
parent | 5bcf7bb4786021fc77303fae7934b17d525f9ad6 (diff) |
gentoo auto-resync : 15:09:2022 - 05:12:09
Diffstat (limited to 'dev-python/leechcorepyc/files')
-rw-r--r-- | dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch deleted file mode 100644 index 62c5669ae6c1..000000000000 --- a/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/leechcore/Makefile b/leechcore/Makefile -index 4f4ff0f..bb04781 100755 ---- a/leechcore/Makefile -+++ b/leechcore/Makefile -@@ -1,7 +1,8 @@ --CC=gcc
--CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
- #CFLAGS += -g -O0
--CFLAGS += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack
-+CFLAGS += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack
- CFLAGS += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
- LDFLAGS += -g -ldl -shared
- DEPS = leechcore.h
-diff --git a/leechcore_device_rawtcp/Makefile b/leechcore_device_rawtcp/Makefile -index 6ce9a8b..b3e7990 100755 ---- a/leechcore_device_rawtcp/Makefile -+++ b/leechcore_device_rawtcp/Makefile -@@ -1,4 +1,4 @@ --CC=gcc -+CC?=gcc - CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden - LDFLAGS += -g -shared - DEPS = -diff --git a/leechcore_device_sp605tcp/Makefile b/leechcore_device_sp605tcp/Makefile -index b3e4db4..f727c04 100755 ---- a/leechcore_device_sp605tcp/Makefile -+++ b/leechcore_device_sp605tcp/Makefile -@@ -1,4 +1,4 @@ --CC=gcc -+CC?=gcc - CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden - LDFLAGS += -g -shared - DEPS = -diff --git a/leechcore_ft601_driver_linux/Makefile b/leechcore_ft601_driver_linux/Makefile -index 7afbf33..6b62aa8 100755 ---- a/leechcore_ft601_driver_linux/Makefile -+++ b/leechcore_ft601_driver_linux/Makefile -@@ -1,5 +1,6 @@ --CC=gcc --CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config libusb-1.0 --libs --cflags` -+CC?=gcc -+PKG_CONFIG ?= pkg-config -+CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) libusb-1.0 --libs --cflags` - LDFLAGS += -g -shared - DEPS = leechcore_ft601_driver_linux.h - OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o |