mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
- pass -msoft-float if BR2_SOFT_FLOAT is set. Closes bug #1069
This commit is contained in:
parent
0abc368c5c
commit
c77052465a
@ -34,11 +34,19 @@ ifeq ($(BR2_x86_64),y)
|
|||||||
TARGET_CFLAGS+=-fPIC -DPIC
|
TARGET_CFLAGS+=-fPIC -DPIC
|
||||||
endif # PIC for dynamic objects on x86_64
|
endif # PIC for dynamic objects on x86_64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||||
|
TARGET_CFLAGS+=-msoft-float
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# else it's an external toolchain
|
# else it's an external toolchain
|
||||||
|
#########################################################################
|
||||||
else
|
else
|
||||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include
|
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include
|
||||||
TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
||||||
endif
|
endif
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
ifndef HOSTAR
|
ifndef HOSTAR
|
||||||
HOSTAR:=ar
|
HOSTAR:=ar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user