Changeset 15278 for release


Ignore:
Timestamp:
Mar 28, 2012, 4:04:57 PM (7 years ago)
Author:
rme
Message:

Update linuxarm Makefile to specify the soft-float ABI
explicitly.

Location:
release/1.8/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/1.8/source

  • release/1.8/source/lisp-kernel/linuxarm/Makefile

    r15198 r15278  
    2222AS = as
    2323M4 = m4
    24 ASFLAGS = -mfpu=vfp -march=armv7-a
     24ASFLAGS = -mfpu=vfp -march=armv7-a -mfloat-abi=$(FLOAT_ABI)
    2525M4FLAGS = -DLINUX -DARM
    2626CDEFINES = -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION)
     
    3131WFORMAT = -Wno-format
    3232PLATFORM_H = platform-linuxarm.h
     33FLOAT_ABI = softfp
    3334
    3435# If the linker supports a "--hash-style=" option, use traditional
     
    5253        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o $@
    5354.c.o:
    54         $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -marm $(WFORMAT)  -o $@
     55        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -marm -mfloat-abi=$(FLOAT_ABI) $(WFORMAT)  -o $@
    5556
    5657SPOBJ = pad.o  arm-spentry.o
     
    8687
    8788../../armcl:    $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ)
    88         $(CC)  $(CDEBUG)  -Wl,--export-dynamic $(HASH_STYLE) -o $@ -T ./armlinux.x $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
     89        $(CC)  $(CDEBUG)  -Wl,--export-dynamic $(HASH_STYLE) -mfloat-abi=$(FLOAT_ABI) -o $@ -T ./armlinux.x $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
    8990
    9091
Note: See TracChangeset for help on using the changeset viewer.