mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
Don't set -O2 or -march=native as this will clash with optimization handled by ports framework and -march=native isn't valid on several non x86 platforms causing build failures. PR: 258348 Reported by: pkg-fallout Approved by: yuri (maintainer), arrowd (mentor)
22 lines
690 B
Text
22 lines
690 B
Text
--- Makefile.orig 2018-08-24 18:50:31 UTC
|
|
+++ Makefile
|
|
@@ -32,8 +32,7 @@ VERSION = $(MAJVERS).$(MINVERS)
|
|
|
|
CPPFLAGS += $(shell pkgconf --cflags freetype2)
|
|
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS $(PCONFCFL)
|
|
-CXXFLAGS += -Wall -O2 -fPIC
|
|
-CXXFLAGS += -march=native
|
|
+CXXFLAGS += -Wall -fPIC
|
|
LDLIBS +=
|
|
|
|
|
|
@@ -55,7 +54,8 @@ install: $(CLXCLIENT_MIN)
|
|
install -d $(DESTDIR)$(LIBDIR)
|
|
install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(INCDIR)
|
|
install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)
|
|
- ldconfig
|
|
+ #ldconfig
|
|
+ ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_MAJ)
|
|
ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(LIBDIR)/$(CLXCLIENT_SO)
|
|
|
|
uninstall:
|