Remove duplicate flags from configure output.
Upstream commit 2c5d6f1f (Lane "Include $cc_string in the info reported by a configure run.") has moved the compiler flags output section down but we most likely mismerged it during 9.2 merge (commit 598f4b0e "Merge with PostgreSQL 9.2beta2.") To keep behavior parity we're keeping the LIBS output line here. This seems actually still useful, and if we later find it less valuable it should be trivial to take it out. Before: checking whether ccache clang-10 supports -Wl,--as-needed... (cached) yes checking whether ccache clang-10 supports -Werror=uninitialized... (cached) yes checking whether ccache clang-10 supports -Werror=implicit-function-declaration... (cached) yes configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -ggdb -O3 -std=gnu99 -Werror=uninitialized -Werror=implicit-function-declaration configure: using CPPFLAGS= -D_GNU_SOURCE configure: using LDFLAGS=-fuse-ld=lld -Wl,--as-needed configure: using LIBS=-lxerces-c -lbz2 -lrt -lssl -lcrypto -lzstd -lz -lreadline -lrt -lcrypt -ldl -lm configure: using compiler=clang version 10.0.0-++20200412073924+50d7e5d5e7d-1~exp1~20200412054519.133 configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -ggdb -O3 -std=gnu99 -Werror=uninitialized -Werror=implicit-function-declaration configure: using CPPFLAGS= -D_GNU_SOURCE configure: using LDFLAGS=-fuse-ld=lld -Wl,--as-needed configure: creating ./config.status After: checking whether ccache clang-10 supports -Wl,--as-needed... (cached) yes checking whether ccache clang-10 supports -Werror=uninitialized... (cached) yes checking whether ccache clang-10 supports -Werror=implicit-function-declaration... (cached) yes configure: using compiler=clang version 10.0.0-++20200412073924+50d7e5d5e7d-1~exp1~20200412054519.133 configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -ggdb -O3 -std=gnu99 -Werror=uninitialized -Werror=implicit-function-declaration configure: using CPPFLAGS= -D_GNU_SOURCE -I/home/pivotal/.opt/xerces/include configure: using LDFLAGS=-fuse-ld=lld -L/home/pivotal/.opt/xerces/lib -Wl,--as-needed configure: creating ./config.status
Showing
想要评论请 注册 或 登录