]> granicus.if.org Git - postgresql/commitdiff
Add -mpopcnt to all compiles of pg_bitutils.c
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 13 Feb 2019 20:38:21 +0000 (17:38 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 13 Feb 2019 20:39:05 +0000 (17:39 -0300)
The way this makefile works, we need to specify it three times.

src/port/Makefile

index 94ccece3711670a93bdf31f67fcad540c0e55e70..2da73260a13f163d6b5229d59abf7202d45e0fb2 100644 (file)
@@ -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