diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /www-servers/mongrel2/files/systemtls.mak | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'www-servers/mongrel2/files/systemtls.mak')
-rw-r--r-- | www-servers/mongrel2/files/systemtls.mak | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www-servers/mongrel2/files/systemtls.mak b/www-servers/mongrel2/files/systemtls.mak index e449b762af3d..a536094b3f57 100644 --- a/www-servers/mongrel2/files/systemtls.mak +++ b/www-servers/mongrel2/files/systemtls.mak @@ -43,12 +43,12 @@ builddirs: @mkdir -p bin bin/mongrel2: build/libm2.a src/mongrel2.o - $(CC) $(CFLAGS) $(LDFLAGS) src/mongrel2.o -o $@ $< $(LIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/mongrel2.o -o $@ $< $(LIBS) build/libm2.a: CFLAGS += -fPIC build/libm2.a: ${LIB_OBJ} - ar rcs $@ ${LIB_OBJ} - ranlib $@ + $(AR) rcs $@ ${LIB_OBJ} + $(RANLIB) $@ clean: rm -rf build bin lib ${OBJECTS} ${TESTS} tests/config.sqlite @@ -88,7 +88,7 @@ tests/config.sqlite: src/config/config.sql src/config/example.sql src/config/mim sqlite3 $@ < src/config/mimetypes.sql $(TESTS): %: %.c build/libm2.a - $(CC) $(CFLAGS) -o $@ $< build/libm2.a $(LIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< build/libm2.a $(LIBS) src/state.c: src/state.rl src/state_machine.rl src/http11/http11_parser.c: src/http11/http11_parser.rl @@ -133,4 +133,4 @@ ragel: ragel -G2 src/http11/httpclient_parser.rl %.o: %.S - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $< -o $@ |