From fdea2530bd4afb3d512cb9700b1d8cd603fab0e7 Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Tue, 30 Apr 2013 06:59:26 +0100 Subject: Compiler optimizations for page checksum code. Ants Aasma and Jeff Davis --- src/Makefile.global.in | 1 + src/backend/storage/page/Makefile | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 80f509fa872..89e39d2fa0a 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -219,6 +219,7 @@ CC = @CC@ GCC = @GCC@ SUN_STUDIO_CC = @SUN_STUDIO_CC@ CFLAGS = @CFLAGS@ +CFLAGS_VECTOR = @CFLAGS_VECTOR@ # Kind-of compilers diff --git a/src/backend/storage/page/Makefile b/src/backend/storage/page/Makefile index 82d9c37fda5..49ab40740ae 100644 --- a/src/backend/storage/page/Makefile +++ b/src/backend/storage/page/Makefile @@ -15,3 +15,6 @@ include $(top_builddir)/src/Makefile.global OBJS = bufpage.o checksum.o itemptr.o include $(top_srcdir)/src/backend/common.mk + +# important optimizations flags for checksum.c +checksum.o: CFLAGS += ${CFLAGS_VECTOR} -- cgit v1.2.3