Changeset 20699


Ignore:
Timestamp:
2010-04-04T16:40:07+02:00 (8 years ago)
Author:
nico
Message:

[packages] libmad: fix build failure on targets using -O2 optimizations (partially closes: #6974)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libmad/Makefile

    r19714 r20699  
    4949TARGET_CFLAGS += $(FPIC) 
    5050 
    51 define Build/Configure 
    52         $(call Build/Configure/Default, \ 
    53                 --enable-shared \ 
    54                 --enable-static \ 
    55                 --enable-fpm="$(FPM)" \ 
    56                 --disable-debugging \ 
    57                 --enable-speed \ 
    58         ) 
    59 endef 
     51CONFIGURE_ARGS+= \ 
     52        --enable-shared \ 
     53        --enable-static \ 
     54        --enable-fpm="$(FPM)" \ 
     55        --disable-debugging \ 
     56        --enable-speed \ 
     57 
     58# XXX: configure is parsing and "optimizing" CFLAGS, adding unsupported  
     59# XXX: compiler args to it (like -fforce-mem) 
     60# XXX: so pass an empty one to configure 
     61CONFIGURE_VARS+= \ 
     62        CFLAGS="" \ 
     63 
     64# XXX: and pass our own to make 
     65MAKE_FLAGS+= \ 
     66        CFLAGS="$(TARGET_CFLAGS)" \ 
    6067 
    6168define Build/InstallDev 
Note: See TracChangeset for help on using the changeset viewer.