OSDN Git Service

Fix compiling error on Solaris
[pgstoreplans/pg_store_plans.git] / Makefile
index b40c426..578c3a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,9 @@ TARSOURCES = Makefile *.c  *.h \
        pg_store_plans.control \
        docs/* expected/*.out sql/*.sql \
 
+ifneq ($(shell uname), SunOS)
 LDFLAGS+=-Wl,--build-id
+endif
 
 ## These entries need running server
 DBNAME = postgres