comparison make/sun/jdbc/Makefile @ 3767:54d8193f177b

7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code Summary: Cross-compilation support Reviewed-by: ohair, andrew
author dholmes
date Wed, 16 Mar 2011 18:54:50 -0400
parents 6aeed99af874
children 272483f6650b
comparison
equal deleted inserted replaced
6:e97e15aa7b3a 7:1cb7d02b20a2
59 # 59 #
60 # If you wanted to use the real odbc libraries, change the value of 60 # If you wanted to use the real odbc libraries, change the value of
61 # ODBC_LIBRARY_LOCATION, and delete the variable assignments below. 61 # ODBC_LIBRARY_LOCATION, and delete the variable assignments below.
62 # 62 #
63 # Tell linker to ignore missing externals when building this shared library. 63 # Tell linker to ignore missing externals when building this shared library.
64 LDFLAGS_DEFS_OPTION = -z nodefs 64 LDFLAGS_DEFS_OPTION = -Xlinker -z -Xlinker nodefs
65 # Define a place to create the fake libraries and their names. 65 # Define a place to create the fake libraries and their names.
66 ODBC_LIBRARY_LOCATION = $(TEMPDIR) 66 ODBC_LIBRARY_LOCATION = $(TEMPDIR)
67 ODBC_FAKE_LIBRARIES = $(ODBC_LIBRARY_LOCATION)/libodbcinst.so $(ODBC_LIBRARY_LOCATION)/libodbc.so 67 ODBC_FAKE_LIBRARIES = $(ODBC_LIBRARY_LOCATION)/libodbcinst.so $(ODBC_LIBRARY_LOCATION)/libodbc.so
68 # Make sure they get created early. 68 # Make sure they get created early.
69 INIT += $(ODBC_FAKE_LIBRARIES) 69 INIT += $(ODBC_FAKE_LIBRARIES)