#18306: kissdx does not build with eglibc x86 architecture due to --strip-all
------------------------+-----------------------------------
 Reporter:  whotopia@…  |      Owner:  developers
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  Barrier Breaker 14.07
Component:  packages    |    Version:  Barrier Breaker 14.07
 Keywords:  kissdx      |
------------------------+-----------------------------------
 cmake gets passes the argument --strip-all, which it doesn't understand

 The following patch to the package Makefile seems to do the trick:

 --- Makefile-   2014-11-06 20:29:42.699127379 +0100
 +++ Makefile    2014-11-06 20:30:21.711127021 +0100
 @@ -42,7 +42,7 @@ define Build/Compile
         $(MAKE) -C $(PKG_BUILD_DIR) \
                 CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE
 -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE
 -I$(ICONV_PREFIX)/include -I$(STAGING_DIR)/usr/include/dvdread
 $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
                 LDFLAGS="-L$(ICONV_PREFIX)/lib $(TARGET_LDFLAGS)" \
 -               STRIP=$(STRIP) \
 +               STRIP="$(STRIP)" \
                 IconvExternal=defined \
                 CC="$(TARGET_CROSS)gcc" all
  endef


 Note I am unsure what this patch will do for other architectures or ulibc

--
Ticket URL: <https://dev.openwrt.org/ticket/18306>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to