Changeset 16345


Ignore:
Timestamp:
Feb 11, 2006, 7:34:31 PM (15 years ago)
Author:
jberry
Message:

Allow SHLIB_LDFLAGS and CFLAGS to be specified at configure time, as in
./configure CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386' SHLIB_LDFLAGS='-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386'
, which is an attempt to get darwinports to build fat.

Note that this does not currently work completely, as we're getting hung up on
the lack of a libtclstubs, which doesn't exist in the specified sysroot. Anybody
have ideas on that?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/dports.autoconf.mk.in

    r14467 r16345  
    11SHELL                   = @SHELL@
     2
     3
    24srcdir                  = @srcdir@
    35VPATH                   = @srcdir@
    46
    5 CC                      = @CC@
    6 CFLAGS                  = $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
    7 CPPFLAGS                = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
    8 TCL_DEFS                = @TCL_DEFS@
     7CC                                      = @CC@
     8CFLAGS                          = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) $(CFLAGS_LIBCURL)
     9CPPFLAGS                        = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
     10TCL_DEFS                        = @TCL_DEFS@
    911SHLIB_CFLAGS            = @SHLIB_CFLAGS@
    1012CFLAGS_DEBUG            = @CFLAGS_DEBUG@
     
    1315CFLAGS_LIBCURL          = @CFLAGS_LIBCURL@
    1416
    15 TCL_CC                  = @TCL_CC@
    16 SHLIB_LD                = @SHLIB_LD@
     17TCL_CC                          = @TCL_CC@
     18SHLIB_LD                        = @SHLIB_LD@
    1719LDFLAGS_LIBCURL         = @LDFLAGS_LIBCURL@
    18 LDFLAGS                 = @LDFLAGS@ $(LDFLAGS_LIBCURL)
    19 SHLIB_LDFLAGS           = @LDFLAGS@
     20LDFLAGS                         = @LDFLAGS@ $(LDFLAGS_LIBCURL)
     21SHLIB_LDFLAGS           = @SHLIB_LDFLAGS@ @LDFLAGS@
    2022SHLIB_SUFFIX            = @SHLIB_SUFFIX@
    2123TCL_STUB_LIB_SPEC       = @TCL_STUB_LIB_SPEC@
Note: See TracChangeset for help on using the changeset viewer.