Skip to content
  • nbd's avatar
    build: explicitly unexport CONFIG_SITE · a6e0cfd8
    nbd authored
    
    
    On systems with CONFIG_SITE in the environment (e.g. OpenSUSE) make will export
    the CONFIG_SITE set in include/package.mk by default. This will cause host
    builds to get the target site configuration, leading to all kinds of weirdness
    (wrong pointer size, wrong endianess).
    
    Fix this by explicitly unexporting CONFIG_SITE. The explicit export for the
    target builds overrides the unexport, so the target builds will still correctly
    get the site config.
    
    Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
    
    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44019 3c298f89-4303-0410-b956-a3cf2f4a3e73
    a6e0cfd8
Loading