Changeset 22208 for packages


Ignore:
Timestamp:
2010-07-15T19:13:42+02:00 (6 years ago)
Author:
nico
Message:

[packages] tinc: fix build on powerpc (closes: #7072), reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tinc/Makefile

    r21760 r22208  
    11# 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    2222include $(INCLUDE_DIR)/package.mk 
    2323 
    24 TARGET_CFLAGS+=-std=gnu99 
    25  
    2624define Package/tinc 
    2725  SECTION:=net 
     
    3836endef 
    3937 
    40 define Build/Configure 
    41         $(call Build/Configure/Default, \ 
    42                 --with-kernel="$(LINUX_DIR)" \ 
    43                 --with-zlib="$(STAGING_DIR)/usr" \ 
    44                 --with-lzo-include="$(STAGING_DIR)/usr/include/lzo" \ 
    45         ) 
    46 endef 
     38TARGET_CFLAGS += -std=gnu99 
     39 
     40CONFIGURE_ARGS += \ 
     41        --with-kernel="$(LINUX_DIR)" \ 
     42        --with-zlib="$(STAGING_DIR)/usr" \ 
     43        --with-lzo-include="$(STAGING_DIR)/usr/include/lzo" \ 
     44 
     45# XXX: checking for SHA1_version(), which is a variable, not a function, 
     46# fails on PowerPC, so just override it for now 
     47CONFIGURE_VARS += \ 
     48        ac_cv_lib_crypto_SHA1_version="yes" \ 
    4749 
    4850define Package/tinc/install 
Note: See TracChangeset for help on using the changeset viewer.