diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2017-11-15 20:56:13 +0100 |
---|---|---|
committer | Gogs <gogs@fake.local> | 2017-11-15 20:56:13 +0100 |
commit | e797c0e3030558fdcc1da6a69bbfd5f5ee78edbe (patch) | |
tree | efe04d6ab529d570be089a27d37bd80f91cbffec /package/pigpio/patches/patch-Makefile | |
parent | 1a25210690d4b53fa95e3c9ff288af9f1f71a4ce (diff) | |
parent | 5706467b7db26617379fb9643679f0341bb1009a (diff) |
Merge branch 'pigpio' of metalmajor/openadk into master
Diffstat (limited to 'package/pigpio/patches/patch-Makefile')
-rw-r--r-- | package/pigpio/patches/patch-Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/pigpio/patches/patch-Makefile b/package/pigpio/patches/patch-Makefile new file mode 100644 index 000000000..8aee82f79 --- /dev/null +++ b/package/pigpio/patches/patch-Makefile @@ -0,0 +1,20 @@ +Remove empty cross_prefix variable and prefix + +--- pigpio-1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c.orig/Makefile 2017-06-29 18:30:31.000000000 +0200 ++++ pigpio-1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c/Makefile 2017-06-29 18:45:16.000000000 +0200 +@@ -1,7 +1,6 @@ + # + # Set CROSS_PREFIX to prepend to all compiler tools at once for easier + # cross-compilation. +-CROSS_PREFIX = + CC = $(CROSS_PREFIX)gcc + AR = $(CROSS_PREFIX)ar + RANLIB = $(CROSS_PREFIX)ranlib +@@ -31,7 +30,6 @@ LL2 = -L. -lpigpiod_if -pthread -lr + + LL3 = -L. -lpigpiod_if2 -pthread -lrt + +-prefix = /usr/local + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin + includedir = $(prefix)/include |