diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-libs/libclthreads/files | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-libs/libclthreads/files')
-rw-r--r-- | dev-libs/libclthreads/files/libclthreads-2.4.2-Makefile.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libclthreads/files/libclthreads-2.4.2-Makefile.patch b/dev-libs/libclthreads/files/libclthreads-2.4.2-Makefile.patch new file mode 100644 index 000000000000..fa386fff7914 --- /dev/null +++ b/dev-libs/libclthreads/files/libclthreads-2.4.2-Makefile.patch @@ -0,0 +1,33 @@ +diff --git a/source/Makefile b/source/Makefile +index f841f3f..206e607 100644 +--- a/source/Makefile ++++ b/source/Makefile +@@ -32,8 +32,7 @@ VERSION = $(MAJVERS).$(MINVERS) + + + CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. +-CXXFLAGS += -Wall -O2 -fPIC +-CXXFLAGS += -march=native ++CXXFLAGS += -Wall -fPIC + LDLFAGS += + LDLIBS += + +@@ -51,12 +50,12 @@ $(CLTHREADS_MIN): $(CLTHREADS_O) + + + install: $(CLTHREADS_MIN) +- install -d $(DESTDIR)$(PREFIX)/$(INCDIR) +- install -d $(DESTDIR)$(PREFIX)/$(LIBDIR) +- install -m 644 $(CLTHREADS_H) $(DESTDIR)$(INCDIR) +- install -m 755 $(CLTHREADS_MIN) $(DESTDIR)$(LIBDIR) +- ldconfig +- ln -sf $(CLTHREADS_MIN) $(DESTDIR)$(LIBDIR)/$(CLTHREADS_SO) ++ install -d $(DESTDIR)${PREFIX}/$(INCDIR) ++ install -d $(DESTDIR)${PREFIX}/$(LIBDIR) ++ install -m 644 $(CLTHREADS_H) $(DESTDIR)${PREFIX}/$(INCDIR) ++ install -m 755 $(CLTHREADS_MIN) $(DESTDIR)${PREFIX}/$(LIBDIR) ++ ln -sf $(CLTHREADS_MIN) $(DESTDIR)${PREFIX}/$(LIBDIR)/$(CLTHREADS_SO) ++ ln -sf $(CLTHREADS_MIN) $(DESTDIR)${PREFIX}/$(LIBDIR)/$(CLTHREADS_MAJ) + + uninstall: + rm -rf $(DESTDIR)$(INCDIR)/$(CLTHREADS_H) |