source: packages/libs/libnatpmp/patches/001-cross_compile.patch @ 27260

Last change on this file since 27260 was 27260, checked in by swalker, 5 years ago

[packages] libnatpmp: add the libnatpmp library

File size: 418 bytes
  • Makefile

    a b  
    44# (c) 2007-2011 Thomas Bernard 
    55# http://miniupnp.free.fr/libnatpmp.html 
    66 
    7 OS = $(shell uname -s) 
     7OS = Linux 
    88CC = gcc 
    99INSTALL = install 
    1010 
    1111# APIVERSION is used in soname 
    1212APIVERSION = 1 
    1313LDFLAGS = -Wl,--no-undefined 
    14 CFLAGS = -O -fPIC -Wall -DENABLE_STRNATPMPERR 
     14COPTS = -O 
     15CFLAGS = $(COPTS) -fPIC -Wall -DENABLE_STRNATPMPERR 
    1516 
    1617LIBOBJS = natpmp.o getgateway.o 
    1718 
Note: See TracBrowser for help on using the repository browser.