1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/libpg_query/verbose-build.patch
2021-06-06 01:38:25 +02:00

27 lines
822 B
Diff

We want to see what's going on, what flags are begin passed to CC.
--- a/Makefile
+++ b/Makefile
@@ -148,18 +148,16 @@
cp $(PGDIR)/src/test/regress/sql/*.sql ./test/sql/postgres_regress/
.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,-soname,$(SONAME) $(LDFLAGS) -o $@ $(OBJ_FILES) $(LIBS)
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(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), )