1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/libpg_query/verbose-build.patch
2022-11-19 00:25:34 +00:00

26 lines
756 B
Diff

We want to see what's going on, what flags are begin passed to CC.
--- a/Makefile
+++ b/Makefile
@@ -168,17 +168,17 @@
.c.o:
@$(ECHO) compiling $(<)
- @$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
.cc.o:
@$(ECHO) compiling $(<)
- @$(CXX) $(CXXFLAGS) -o $@ -c $<
+ $(CXX) $(CXXFLAGS) -o $@ -c $<
$(ARLIB): $(OBJ_FILES) Makefile
- @$(AR) $@ $(OBJ_FILES)
+ $(AR) $@ $(OBJ_FILES)
$(SOLIB): $(OBJ_FILES) Makefile
- @$(CC) $(CFLAGS) -shared -Wl,$(SOFLAG),$(SONAME) $(LDFLAGS) -o $@ $(OBJ_FILES) $(LIBS)
+ $(CC) $(CFLAGS) -shared -Wl,$(SOFLAG),$(SONAME) $(LDFLAGS) -o $@ $(OBJ_FILES) $(LIBS)
protobuf/pg_query.pb-c.c protobuf/pg_query.pb-c.h: protobuf/pg_query.proto
ifneq ($(shell which protoc-gen-c), )