From d0b4663c23b7a6ae6f489c4d7a2f58f879914959 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 13 Feb 2019 17:38:21 -0300 Subject: [PATCH] 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 94ccece371..2da73260a1 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 -- 2.40.0