Changeset 4235


Ignore:
Timestamp:
03/20/08 13:17:42 (5 years ago)
Author:
thomas
Message:

opkg: Fix md5 sum on big endian systems.

Patch from Jeremy Lainé <jeremy laine bolloretelecom eu>

Location:
trunk/src/target/opkg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/opkg/configure.ac

    r4142 r4235  
    9494AC_CHECK_MEMBERS([struct stat.st_rdev]) 
    9595 
     96# Checks endianness 
     97AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",) 
     98AC_SUBST(BIGENDIAN_CFLAGS) 
     99 
    96100# Don't do annoying tests that don't work when cross-compiling, just trust them. 
    97101# The AC_FUNC_MEMCMP test doesn't work during a cross-compile, disable. 
  • trunk/src/target/opkg/libopkg/Makefile.am

    r4204 r4235  
    6060        $(opkg_util_sources) $(opkg_list_sources) 
    6161 
    62 libopkg_la_CFLAGS = $(ALL_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) 
     62libopkg_la_CFLAGS = $(ALL_CFLAGS) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) 
    6363lib_LTLIBRARIES = libopkg.la 
    6464 
Note: See TracChangeset for help on using the changeset viewer.