Changeset 10921 for trunk/indexers/mg


Ignore:
Timestamp:
2005-11-22T15:53:13+13:00 (18 years ago)
Author:
kjdon
Message:

added -fpic to CFLAGS (and unused CXXFLAGS) - need to generate position independent code for shared library. needed on solaris, doesn't seem to make any difference on linux, ignored on Mac (all code is position independent)

Location:
trunk/indexers/mg
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mg/Makefile.in

    r7732 r10921  
    2828
    2929CC = @CC@
    30 CFLAGS = @CFLAGS@
     30CFLAGS = @CFLAGS@ -fpic
    3131INSTALL = @INSTALL@
    3232INSTALL_DATA = @INSTALL_DATA@
  • trunk/indexers/mg/jni/Makefile.in

    r10917 r10921  
    1313AR = ar
    1414CC = @CC@
    15 CFLAGS = @CFLAGS@ -ansi -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM
     15CFLAGS = @CFLAGS@ -ansi -fpic -DSILENT -DSHORT_SUFFIX -DNZDL -DQUIET -DPARADOCNUM
    1616DEFS = @DEFS@
    1717RANLIB = @RANLIB@
  • trunk/indexers/mg/lib/Makefile.in

    r3745 r10921  
    3333AR = ar
    3434CC = @CC@
    35 CFLAGS = @CFLAGS@
    36 CPPFLAGS = @CPPFLAGS@
     35CFLAGS = @CFLAGS@ -fpic
     36CPPFLAGS = @CPPFLAGS@ -fpic
    3737DEFS = @DEFS@
    3838RANLIB = @RANLIB@
     
    4141# Uncomment for compiling for the nzdl project
    4242#
    43 CFLAGS = @CFLAGS@ -DQUIET
     43CFLAGS = @CFLAGS@ -DQUIET -fpic
    4444##########################################
    4545
  • trunk/indexers/mg/src/text/Makefile.in

    r7729 r10921  
    3636AR = ar
    3737CC = @CC@
    38 CFLAGS = @CFLAGS@
    39 CPPFLAGS = @CPPFLAGS@
     38CFLAGS = @CFLAGS@ -fpic
     39CPPFLAGS = @CPPFLAGS@ -fpic
    4040DEFS = @DEFS@
    4141RANLIB = @RANLIB@
     
    5353# Uncomment for compiling for the nzdl project
    5454#
    55 CFLAGS = @CFLAGS@ -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM
     55CFLAGS = @CFLAGS@ -fpic -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM
    5656##########################################
    5757
Note: See TracChangeset for help on using the changeset viewer.