diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2004-02-29 22:46:49 -0500 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2004-02-29 22:46:49 -0500 |
| commit | 434661f8d5efd0999e586dfbf73b319f070bc20b (patch) | |
| tree | 798d87a928f65469069a774f03d79571fb19950e /lib/ss | |
| parent | e55043f87678587a03895d9629efb1c5a659d392 (diff) | |
| download | android_external_e2fsprogs-434661f8d5efd0999e586dfbf73b319f070bc20b.tar.gz android_external_e2fsprogs-434661f8d5efd0999e586dfbf73b319f070bc20b.tar.bz2 android_external_e2fsprogs-434661f8d5efd0999e586dfbf73b319f070bc20b.zip | |
Patch from Brian Bergstrand to use the correct -fPIC flag for
Darwin in order to get rid of the compiler warning.
Diffstat (limited to 'lib/ss')
| -rw-r--r-- | lib/ss/ChangeLog | 5 | ||||
| -rw-r--r-- | lib/ss/Makefile.in | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/ss/ChangeLog b/lib/ss/ChangeLog index 0164789e..0d1357e0 100644 --- a/lib/ss/ChangeLog +++ b/lib/ss/ChangeLog @@ -1,3 +1,8 @@ +2004-02-29 Brian Bergstrand <brian@bergstrand.org> + + * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use + -fpic or -fPIC + 2004-02-28 Theodore Ts'o <tytso@mit.edu> * Release of E2fsprogs 1.35 diff --git a/lib/ss/Makefile.in b/lib/ss/Makefile.in index 6713febe..0999ebd1 100644 --- a/lib/ss/Makefile.in +++ b/lib/ss/Makefile.in @@ -53,7 +53,7 @@ XTRA_CFLAGS= -I$(srcdir)/../et @DLL_CMT@ (export JUMP_DIR=`pwd`/jump; $(CC) -B$(JUMP_PREFIX) \ @DLL_CMT@ $(ALL_CFLAGS) -o jump/$*.o -c $<) @ELF_CMT@ $(CC) $(ALL_CFLAGS) -DSHARED_ELF_LIB -fPIC -o elfshared/$*.o -c $< -@BSDLIB_CMT@ $(CC) $(ALL_CFLAGS) -fpic -o pic/$*.o -c $< +@BSDLIB_CMT@ $(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $< # for the library |
