Don't use random optimisation flags.
This commit is contained in:
parent
5022417b69
commit
3299a0eac5
2 changed files with 12 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2014/08/09 06:26:09 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.2 2014/08/19 13:34:00 joerg Exp $
|
||||
|
||||
SHA1 (gmic_1.5.9.3.tar.gz) = c795fd628a4e416538dd5521581307326d1785df
|
||||
RMD160 (gmic_1.5.9.3.tar.gz) = 19f7edd3200ec1fb199d1584b2999d6137a1273f
|
||||
Size (gmic_1.5.9.3.tar.gz) = 2791352 bytes
|
||||
SHA1 (patch-src_Makefile) = 9775b37a343e193589675231891efa5093f723b5
|
||||
SHA1 (patch-src_Makefile) = c84a9719023dfdaac512ee85acd104d633e103d8
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-src_Makefile,v 1.1 2014/08/09 06:26:09 wiz Exp $
|
||||
$NetBSD: patch-src_Makefile,v 1.2 2014/08/19 13:34:00 joerg Exp $
|
||||
|
||||
Add NetBSD.
|
||||
Adapt installation paths.
|
||||
|
@ -34,6 +34,15 @@ Add compiler rpath flag.
|
|||
ifeq ($(CC),g++)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -95,7 +98,7 @@ DEBUG_CFLAGS = -Dcimg_verbosity=3 -g
|
||||
|
||||
# Flags to enable optimizations.
|
||||
ifeq ($(CC),g++)
|
||||
-OPT_CFLAGS = -O2 -fno-ipa-sra -mtune=generic # -fno-tree-pre # -ffast-math
|
||||
+OPT_CFLAGS = -O2
|
||||
endif
|
||||
ifeq ($(CC),clang++)
|
||||
OPT_CFLAGS = -O2
|
||||
@@ -422,11 +425,11 @@ ifneq ($(OS),Darwin)
|
||||
ln -s libgmic.so.1.5.9 $(DESTDIR)$(USR)/lib/libgmic.so.1
|
||||
ln -s libgmic.so.1 $(DESTDIR)$(USR)/lib/libgmic.so
|
||||
|
|
Loading…
Reference in a new issue