postgres.git / summary / log / commit / refs
commit d0b4663c23b7a6ae6f489c4d7a2f58f879914959
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Wed Feb 13 20:38:21 2019 +0000
Add -mpopcnt to all compiles of pg_bitutils.c
The way this makefile works, we need to specify it three times.
src/port/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/port/Makefile b/src/port/Makefile
index 94ccece3711..2da73260a13 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -80,6 +80,8 @@ pg_crc32c_armv8_srv.o: CFLAGS+=$(CFLAGS_ARMV8_CRC32C)
# pg_bitutils.c needs CFLAGS_POPCNT
pg_bitutils.o: CFLAGS+=$(CFLAGS_POPCNT)
+pg_bitutils_shlib.o: CFLAGS+=$(CFLAGS_POPCNT)
+pg_bitutils_srv.o: CFLAGS+=$(CFLAGS_POPCNT)
#
# Shared library versions of object files
[parent: da6520be7f94]