diff options
author | joerg <joerg@pkgsrc.org> | 2014-08-19 13:34:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-08-19 13:34:00 +0000 |
commit | a068d8059b6e8c0b9fbdfdaa872af2f29e674ab3 (patch) | |
tree | d37d1b2839f1baa0eddbfce258539a70fb0d8e2c /graphics | |
parent | dc6e39150b0013b198af713f801150d5f62cf3bc (diff) | |
download | pkgsrc-a068d8059b6e8c0b9fbdfdaa872af2f29e674ab3.tar.gz |
Don't use random optimisation flags.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gmic/distinfo | 4 | ||||
-rw-r--r-- | graphics/gmic/patches/patch-src_Makefile | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/gmic/distinfo b/graphics/gmic/distinfo index bec939f9245..38f2d1e39f7 100644 --- a/graphics/gmic/distinfo +++ b/graphics/gmic/distinfo @@ -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 diff --git a/graphics/gmic/patches/patch-src_Makefile b/graphics/gmic/patches/patch-src_Makefile index e433c841f89..9b546cfde29 100644 --- a/graphics/gmic/patches/patch-src_Makefile +++ b/graphics/gmic/patches/patch-src_Makefile @@ -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 |