Commits

Andrew Stormont committed 8346b43 Draft

2255 the tools directory does not build with gcc

  • Participants
  • Parent commits 66a35ca

Comments (0)

Files changed (1)

 # 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
 							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 $@ $<