diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2015-02-18 16:14:28 -0600 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2015-02-18 16:14:28 -0600 |
commit | 76ce4aadee1a7a890001affed54a0fb1110b1793 (patch) | |
tree | 14a358904909e8fe0f631d414333c26de81e5042 /ffs/Rules.mk | |
parent | aa8354ef7ee6606fe32453e3eedce9af8038230a (diff) | |
download | ffs-76ce4aadee1a7a890001affed54a0fb1110b1793.tar.gz ffs-76ce4aadee1a7a890001affed54a0fb1110b1793.zip |
Support to compile in 64bit for Ubuntu Little Endian
Diffstat (limited to 'ffs/Rules.mk')
-rw-r--r-- | ffs/Rules.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ffs/Rules.mk b/ffs/Rules.mk index 2998d6e..c014ffa 100644 --- a/ffs/Rules.mk +++ b/ffs/Rules.mk @@ -22,10 +22,10 @@ # permissions and limitations under the License. # # IBM_PROLOG_END_TAG -CFLAGS += -m32 -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 -CFLAGS += -I$(DEPTH)/.. -I$(DEPTH)/boot/fsp2_ipl -iquote.. +CFLAGS += -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 +CFLAGS += -I$(DEPTH)/.. -I$(DEPTH)/boot/fsp2_ipl -iquote.. -fPIC -LDFLAGS += -L. -m32 +LDFLAGS += -L. NAME=libffs @@ -41,7 +41,7 @@ vpath %.h .. all: $(TARGETS) $(NAME).so: $(OBJS) - $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$@ -o $@ $^ + $(CC) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ $(NAME).a: $(OBJS) $(AR) -r $@ $^ |