diff options
Diffstat (limited to 'graphics/openjpeg/files/patch-Makefile')
-rw-r--r-- | graphics/openjpeg/files/patch-Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/openjpeg/files/patch-Makefile b/graphics/openjpeg/files/patch-Makefile index b7aafb366c36..8b64092bddb6 100644 --- a/graphics/openjpeg/files/patch-Makefile +++ b/graphics/openjpeg/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2007-06-04 09:27:25.000000000 -0400 -+++ Makefile 2007-07-18 06:51:33.000000000 -0400 +--- Makefile.orig 2007-12-21 11:39:41.000000000 +0100 ++++ Makefile 2009-03-21 11:51:26.000000000 +0100 @@ -8,17 +8,16 @@ INCLUDE = -Ilibopenjpeg @@ -16,12 +16,12 @@ # Converts cr/lf to just lf DOS2UNIX = dos2unix --COMPILERFLAGS = -O3 -fPIC -+COMPILERFLAGS := $(CFLAGS) -fPIC +-COMPILERFLAGS = -Wall -O3 -ffast-math -std=c99 -fPIC ++COMPILERFLAGS := $(CFLAGS) -Wall -std=c99 -fPIC LIBRARIES = -lstdc++ MODULES = $(SRCS:.c=.o) -@@ -33,7 +32,12 @@ +@@ -33,7 +32,13 @@ default: all @@ -29,6 +29,7 @@ +all: OpenJPEG subdirs + +subdirs: ++ set -e; \ + for dir in $(SUBDIRS); do \ + $(MAKE) -C $$dir; \ + done |