diff options
author | 2014-08-06 18:39:25 +0700 | |
---|---|---|
committer | 2014-08-06 18:39:25 +0700 | |
commit | 7408017fa321eff3a96f2ad339004af5a65b3d99 (patch) | |
tree | fdb713335abd5f73e9a0b21aede2069a4e628192 /system/arj/patches/gnu_build_flags.patch | |
parent | 6f3bd06d133b32a5462349f9db83d1846666598c (diff) | |
download | slackbuilds-7408017fa321eff3a96f2ad339004af5a65b3d99.tar.gz slackbuilds-7408017fa321eff3a96f2ad339004af5a65b3d99.tar.xz |
system/arj: Added (arj archiver).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/arj/patches/gnu_build_flags.patch')
-rw-r--r-- | system/arj/patches/gnu_build_flags.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/system/arj/patches/gnu_build_flags.patch b/system/arj/patches/gnu_build_flags.patch new file mode 100644 index 0000000000..89a8ffe653 --- /dev/null +++ b/system/arj/patches/gnu_build_flags.patch @@ -0,0 +1,38 @@ +--- + gnu/makefile.in | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +--- a/gnu/makefile.in ++++ b/gnu/makefile.in +@@ -56,7 +56,7 @@ DEBUG_SM = r + ADD_LDFLAGS = -s @LD_STRIP@ + endif + +-ALL_CFLAGS += $(CFLAGS) ++ALL_CFLAGS += @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) + + # Build Installation paths + +@@ -80,11 +80,11 @@ SFXSTUB_DIR = $(BASEDIR)/sfxstub + # Definitions for compiling submodules + + LDFLAGS = @LDFLAGS@ $(ADD_LDFLAGS) +-DLL_FLAGS = @DLL_FLAGS@ $(ADD_LDFLAGS) ++DLL_FLAGS = @DLL_FLAGS@ $(LDFLAGS) + DLL_CFLAGS = @DLL_CFLAGS@ + REQUIRES_DEF = @REQUIRES_DEF@ + +-COPT = -c -I@OUT_DIR@ -I$(BASEDIR) -I$(SRC_DIR) @CFLAGS@ $(ALL_CFLAGS) ++COPT = -c -I@OUT_DIR@ -I$(BASEDIR) -I$(SRC_DIR) $(ALL_CFLAGS) + STD_COPT = -DARJUTIL $(COPT) + ARJ_COPT = -DSFL=4 $(COPT) + ARJSFXV_COPT = -DSFL=3 $(COPT) +@@ -189,7 +190,7 @@ msg-headers: $(MSG_HEADERS) + mkdir -p $@ + + .deps/%.d: %.c .deps +- $(CC) $(CPPFLAGS) $(COPT) $< -MM > $@ ++ $(CC) $(COPT) $< -MM > $@ + + SOURCES = $(wildcard *.c) + DEPS = $(addprefix .deps/,$(SOURCES:.c=.d)) |