wok-next view arj/stuff/patches/no_remove_static_const.patch @ rev 21226

updated chocolate-doom (1.4.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Dec 03 16:21:36 2019 +0100 (2019-12-03)
parents
children
line source
1 #DPATCHLEVEL=1
2 diff -Naur arj-3.10.22.orig/gnu/makefile.in arj-3.10.22/gnu/makefile.in
3 --- arj-3.10.22.orig/gnu/makefile.in 2004-04-17 14:28:06.000000000 +0300
4 +++ arj-3.10.22/gnu/makefile.in 2005-08-04 21:50:24.000000000 +0300
5 @@ -192,6 +192,15 @@
6 dispose:
8 #
9 +# XXX: Do not use -O2, it removes the static const variable with gcc 4.x
10 +#
11 +
12 +INTEGR_DIRS = $(ARJ_DIR) $(REARJ_DIR) $(ARJCRYPT_DIR) $(REGISTER_DIR)
13 +
14 +$(patsubst %,%/integr.o, $(INTEGR_DIRS)): $(SRC_DIR)/integr.c
15 + $(CC) -Wall -g -c -o$@ $<
16 +
17 +#
18 # The tools
19 #