6638571: Fix freetype sanity check to work on solaris 64bit
authorohair
Tue Mar 04 09:50:30 2008 -0800 (20 months ago)
changeset 5929222887724
parent 480486f9d9221
child 612b0d64c4953
6638571: Fix freetype sanity check to work on solaris 64bit
Summary: Missing -xarch options to build for 64bit
Reviewed-by: xdono
make/tools/freetypecheck/Makefile
--- a/make/tools/freetypecheck/Makefile Tue Mar 04 09:49:22 2008 -0800
+++ b/make/tools/freetypecheck/Makefile Tue Mar 04 09:50:30 2008 -0800
@@ -38,7 +38,14 @@ FT_TEST_PATH = $(TEMPDIR)/$(FT_TEST)
all: $(FT_TEST_PATH)
-FT_OPTIONS = -I$(FT_HEADERS) -I$(FT_HEADERS)/freetype2
+# Start with CFLAGS (which gets us the required -xarch setting on solaris)
+ifeq ($(PLATFORM), windows)
+ FT_OPTIONS =
+else
+ FT_OPTIONS = $(CFLAGS)
+endif
+
+FT_OPTIONS += -I$(FT_HEADERS) -I$(FT_HEADERS)/freetype2
FT_OPTIONS += $(XARCH)
#add runtime library search path