# HG changeset patch # User Andrew Stormont # Date 1337771689 -3600 # Node ID 8346b431af594dc4d4911786c1ca1b67f705ba45 # Parent 66a35caef41c364c42866ec9fc1aee540365e589 2255 the tools directory does not build with gcc diff -r 66a35caef41c -r 8346b431af59 tools/Makefile --- a/tools/Makefile Fri May 04 09:35:45 2012 +0100 +++ b/tools/Makefile Wed May 23 12:14:49 2012 +0100 @@ -19,6 +19,7 @@ # CDDL HEADER END # # Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved. +# Copyright (c) 2012, Nexenta Systems, Inc. All rights reserved. # include ../make-rules/shared-macros.mk @@ -27,7 +28,7 @@ time-$(MACH64).so time-$(MACH64).o: BITS=64 -time-$(MACH32).o time-$(MACH64).o: CFLAGS += -Kpic +time-$(MACH32).o time-$(MACH64).o: CFLAGS += $(CC_PIC) time-$(MACH32).o time-$(MACH64).o: time.c $(CC) $(CFLAGS) -c -o $@ $<