aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-01-05 13:17:59 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2023-01-05 13:17:59 +0900
commit6f88d7b83926282502e3a68900b29104579bbe8b (patch)
treecd02a1225e14db866665ed6c678118eb72f50d11 /src
parent2a7d977ee0b1f5ef6ee3fe1ec73a8b81b06622f0 (diff)
downloadgnunet-6f88d7b83926282502e3a68900b29104579bbe8b.tar.gz
gnunet-6f88d7b83926282502e3a68900b29104579bbe8b.zip
REGEX: Fix build with recent llvm/clang. Fixes #7550
Patch by Bo98 on github: https://github.com/Homebrew/homebrew-core/pull/113789#issuecomment-1288125182 Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
Diffstat (limited to 'src')
-rw-r--r--src/regex/Makefile.am44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/regex/Makefile.am b/src/regex/Makefile.am
index 2dbf3a3f9..3c8a65336 100644
--- a/src/regex/Makefile.am
+++ b/src/regex/Makefile.am
@@ -22,16 +22,16 @@ libexec_PROGRAMS = \
22gnunet_service_regex_SOURCES = \ 22gnunet_service_regex_SOURCES = \
23 gnunet-service-regex.c 23 gnunet-service-regex.c
24gnunet_service_regex_LDADD = -lm \ 24gnunet_service_regex_LDADD = -lm \
25 libgnunetregex_internal.a \ 25 libgnunetregex_internal.la \
26 libgnunetregexblock.la \ 26 libgnunetregexblock.la \
27 $(top_builddir)/src/dht/libgnunetdht.la \ 27 $(top_builddir)/src/dht/libgnunetdht.la \
28 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 28 $(top_builddir)/src/statistics/libgnunetstatistics.la \
29 $(top_builddir)/src/util/libgnunetutil.la \ 29 $(top_builddir)/src/util/libgnunetutil.la \
30 $(GN_LIBINTL) 30 $(GN_LIBINTL)
31 31
32noinst_LIBRARIES = \ 32noinst_LTLIBRARIES = \
33 libgnunetregex_internal.a \ 33 libgnunetregex_internal.la \
34 libgnunetregextest.a 34 libgnunetregextest.la
35 35
36lib_LTLIBRARIES = \ 36lib_LTLIBRARIES = \
37 libgnunetregexblock.la \ 37 libgnunetregexblock.la \
@@ -49,7 +49,7 @@ libgnunetregexblock_la_LDFLAGS = \
49 -version-info 1:0:0 49 -version-info 1:0:0
50 50
51 51
52libgnunetregex_internal_a_SOURCES = \ 52libgnunetregex_internal_la_SOURCES = \
53 regex_internal_lib.h \ 53 regex_internal_lib.h \
54 regex_internal.h regex_internal.c \ 54 regex_internal.h regex_internal.c \
55 regex_internal_dht.c 55 regex_internal_dht.c
@@ -88,19 +88,19 @@ gnunet_regex_simulation_profiler_SOURCES = \
88 gnunet-regex-simulation-profiler.c 88 gnunet-regex-simulation-profiler.c
89gnunet_regex_simulation_profiler_LDADD = \ 89gnunet_regex_simulation_profiler_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la \ 90 $(top_builddir)/src/util/libgnunetutil.la \
91 libgnunetregex_internal.a \ 91 libgnunetregex_internal.la \
92 $(top_builddir)/src/dht/libgnunetdht.la \ 92 $(top_builddir)/src/dht/libgnunetdht.la \
93 $(top_builddir)/src/my/libgnunetmy.la \ 93 $(top_builddir)/src/my/libgnunetmy.la \
94 $(top_builddir)/src/mysql/libgnunetmysql.la 94 $(top_builddir)/src/mysql/libgnunetmysql.la
95endif 95endif
96 96
97libgnunetregextest_a_SOURCES = \ 97libgnunetregextest_la_SOURCES = \
98 regex_test_lib.c regex_test_lib.h \ 98 regex_test_lib.c regex_test_lib.h \
99 regex_test_graph.c \ 99 regex_test_graph.c \
100 regex_test_random.c 100 regex_test_random.c
101libgnunetregextest_a_LIBADD = \ 101libgnunetregextest_la_LIBADD = \
102 $(top_builddir)/src/util/libgnunetutil.la \ 102 $(top_builddir)/src/util/libgnunetutil.la \
103 libgnunetregex_internal.a 103 libgnunetregex_internal.la
104 104
105noinst_PROGRAMS = $(noinst_mysql_progs) \ 105noinst_PROGRAMS = $(noinst_mysql_progs) \
106 perf-regex \ 106 perf-regex \
@@ -109,10 +109,10 @@ noinst_PROGRAMS = $(noinst_mysql_progs) \
109perf_regex_SOURCES = \ 109perf_regex_SOURCES = \
110 perf-regex.c 110 perf-regex.c
111perf_regex_LDADD = -lm \ 111perf_regex_LDADD = -lm \
112 libgnunetregex_internal.a \ 112 libgnunetregex_internal.la \
113 $(top_builddir)/src/dht/libgnunetdht.la \ 113 $(top_builddir)/src/dht/libgnunetdht.la \
114 libgnunetregexblock.la \ 114 libgnunetregexblock.la \
115 libgnunetregextest.a \ 115 libgnunetregextest.la \
116 $(top_builddir)/src/util/libgnunetutil.la 116 $(top_builddir)/src/util/libgnunetutil.la
117perf_regex_LDFLAGS = \ 117perf_regex_LDFLAGS = \
118 $(GN_LIBINTL) 118 $(GN_LIBINTL)
@@ -123,10 +123,10 @@ gnunet_regex_profiler_LDADD = -lm \
123 $(top_builddir)/src/arm/libgnunetarm.la \ 123 $(top_builddir)/src/arm/libgnunetarm.la \
124 $(top_builddir)/src/testing/libgnunettesting.la \ 124 $(top_builddir)/src/testing/libgnunettesting.la \
125 $(top_builddir)/src/testbed/libgnunettestbed.la \ 125 $(top_builddir)/src/testbed/libgnunettestbed.la \
126 libgnunetregex_internal.a \ 126 libgnunetregex_internal.la \
127 $(top_builddir)/src/dht/libgnunetdht.la \ 127 $(top_builddir)/src/dht/libgnunetdht.la \
128 libgnunetregexblock.la \ 128 libgnunetregexblock.la \
129 libgnunetregextest.a \ 129 libgnunetregextest.la \
130 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 130 $(top_builddir)/src/statistics/libgnunetstatistics.la \
131 $(top_builddir)/src/util/libgnunetutil.la 131 $(top_builddir)/src/util/libgnunetutil.la
132gnunet_regex_profiler_LDFLAGS = \ 132gnunet_regex_profiler_LDFLAGS = \
@@ -135,10 +135,10 @@ gnunet_regex_profiler_LDFLAGS = \
135gnunet_daemon_regexprofiler_SOURCES = \ 135gnunet_daemon_regexprofiler_SOURCES = \
136 gnunet-daemon-regexprofiler.c 136 gnunet-daemon-regexprofiler.c
137gnunet_daemon_regexprofiler_LDADD = -lm \ 137gnunet_daemon_regexprofiler_LDADD = -lm \
138 libgnunetregex_internal.a \ 138 libgnunetregex_internal.la \
139 $(top_builddir)/src/dht/libgnunetdht.la \ 139 $(top_builddir)/src/dht/libgnunetdht.la \
140 libgnunetregexblock.la \ 140 libgnunetregexblock.la \
141 libgnunetregextest.a \ 141 libgnunetregextest.la \
142 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 142 $(top_builddir)/src/statistics/libgnunetstatistics.la \
143 $(top_builddir)/src/util/libgnunetutil.la 143 $(top_builddir)/src/util/libgnunetutil.la
144gnunet_daemon_regexprofiler_LDFLAGS = \ 144gnunet_daemon_regexprofiler_LDFLAGS = \
@@ -160,9 +160,9 @@ endif
160test_regex_eval_api_SOURCES = \ 160test_regex_eval_api_SOURCES = \
161 test_regex_eval_api.c 161 test_regex_eval_api.c
162test_regex_eval_api_LDADD = -lm \ 162test_regex_eval_api_LDADD = -lm \
163 libgnunetregex_internal.a \ 163 libgnunetregex_internal.la \
164 $(top_builddir)/src/dht/libgnunetdht.la \ 164 $(top_builddir)/src/dht/libgnunetdht.la \
165 libgnunetregextest.a \ 165 libgnunetregextest.la \
166 libgnunetregexblock.la \ 166 libgnunetregexblock.la \
167 $(top_builddir)/src/util/libgnunetutil.la 167 $(top_builddir)/src/util/libgnunetutil.la
168 168
@@ -183,7 +183,7 @@ test_regex_api_LDADD = -lm \
183test_regex_iterate_api_SOURCES = \ 183test_regex_iterate_api_SOURCES = \
184 test_regex_iterate_api.c 184 test_regex_iterate_api.c
185test_regex_iterate_api_LDADD = -lm \ 185test_regex_iterate_api_LDADD = -lm \
186 libgnunetregex_internal.a \ 186 libgnunetregex_internal.la \
187 libgnunetregexblock.la \ 187 libgnunetregexblock.la \
188 $(top_builddir)/src/dht/libgnunetdht.la \ 188 $(top_builddir)/src/dht/libgnunetdht.la \
189 $(top_builddir)/src/util/libgnunetutil.la 189 $(top_builddir)/src/util/libgnunetutil.la
@@ -191,18 +191,18 @@ test_regex_iterate_api_LDADD = -lm \
191test_regex_proofs_SOURCES = \ 191test_regex_proofs_SOURCES = \
192 test_regex_proofs.c 192 test_regex_proofs.c
193test_regex_proofs_LDADD = -lm \ 193test_regex_proofs_LDADD = -lm \
194 libgnunetregex_internal.a \ 194 libgnunetregex_internal.la \
195 $(top_builddir)/src/dht/libgnunetdht.la \ 195 $(top_builddir)/src/dht/libgnunetdht.la \
196 libgnunetregextest.a \ 196 libgnunetregextest.la \
197 libgnunetregexblock.la \ 197 libgnunetregexblock.la \
198 $(top_builddir)/src/util/libgnunetutil.la 198 $(top_builddir)/src/util/libgnunetutil.la
199 199
200test_regex_graph_api_SOURCES = \ 200test_regex_graph_api_SOURCES = \
201 test_regex_graph_api.c 201 test_regex_graph_api.c
202test_regex_graph_api_LDADD = -lm \ 202test_regex_graph_api_LDADD = -lm \
203 libgnunetregex_internal.a \ 203 libgnunetregex_internal.la \
204 $(top_builddir)/src/dht/libgnunetdht.la \ 204 $(top_builddir)/src/dht/libgnunetdht.la \
205 libgnunetregextest.a \ 205 libgnunetregextest.la \
206 libgnunetregexblock.la \ 206 libgnunetregexblock.la \
207 $(top_builddir)/src/util/libgnunetutil.la 207 $(top_builddir)/src/util/libgnunetutil.la
208 208