1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-28 04:47:11 +02:00

Fix Aseprite and Alex4 compilation with newest version of OpenWrt

This commit is contained in:
David Kühling 2012-03-22 02:47:27 +01:00
parent f5c5a97a5c
commit d478f19823
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ endef
#TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib #TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib
#TARGET_CPPFLAGS += #TARGET_CPPFLAGS +=
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -laldmb -ldumb -lalleg TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -laldmb -ldumb -lalleg -lm

View File

@ -49,7 +49,7 @@ endef
TARGET_CPPFLAGS += -DNDEBUG TARGET_CPPFLAGS += -DNDEBUG
#TARGET_CPPFLAGS += -DDEBUGMODE #TARGET_CPPFLAGS += -DDEBUGMODE
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -lalleg TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -lalleg -lm -lpthread
define Build/Install define Build/Install
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{bin,share} $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{bin,share}

View File

@ -39,7 +39,7 @@ MAKE_FLAGS += \
PREFIX=/usr \ PREFIX=/usr \
CFLAGS_RELEASE="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \ CFLAGS_RELEASE="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \
CFLAGS_DEBUG="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \ CFLAGS_DEBUG="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS)" \
LINK_ALLEGRO="-L$(STAGING_DIR)/usr/lib -lalleg" LINK_ALLEGRO="-L$(STAGING_DIR)/usr/lib -lalleg -lm"
define Build/Configure define Build/Configure
echo "include make/unix.inc" > $(PKG_BUILD_DIR)/make/config.txt echo "include make/unix.inc" > $(PKG_BUILD_DIR)/make/config.txt