Changeset 7dd2584 in freewrt


Ignore:
Timestamp:
Jun 29, 2007, 7:57:36 PM (18 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
12df702
Parents:
0e6ad45
Message:

make native buildable again and include missing headers

git-svn-id: svn://www.freewrt.org/trunk/freewrt@3036 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • package/fwwif/extra/Makefile

    r0e6ad45 r7dd2584  
    55# for details.
    66
     7.ifndef NATIVE
    78XARCH=          mipsel
    89CDIAGFLAGS?=    -Wall -Wextra -std=gnu99
     
    1920CXXFLAGS+=      -I${CROSSROOT}/target/usr/include
    2021LDFLAGS+=       -L${CROSSROOT}/target/usr/lib
     22.else
     23.  include <bsd.own.mk>
     24STRIP?=         :
     25XARCH?=         *
     26CROSSROOT!=     echo ../../../cross_${XARCH}
     27CFLAGS+=        ${COPTS}
     28CFLAGS+=        -I${CROSSROOT}/host/include ${CDIAGFLAGS}
     29CXXFLAGS+=      -I${CROSSROOT}/host/include
     30LDFLAGS+=       -L${CROSSROOT}/host/lib
     31.endif
    2132
    2233all: fwwif.so
     
    5667ECPPC=          env ${EXTRA_ENV} ecppc
    5768TNTNET=         env ${EXTRA_ENV} tntnet
    58 CXXFLAGS+=      -fPIC -fno-builtin -nostdinc++
     69CXXFLAGS+=      -fPIC -fno-builtin
    5970CFLAGS+=        -fPIC -fno-builtin
    60 LDFLAGS+=       -shared -ltntnet -luClibc++ \
    61                 -liconv -lpthread -lcxxtools -nodefaultlibs
     71LDFLAGS+=       -shared -ltntnet -liconv -lpthread -lcxxtools
     72.ifndef NATIVE
     73CXXFLAGS+=      -nostdinc++
     74LDFLAGS+=       -nodefaultlibs -luClibc++
     75.endif
    6276ECPPFLAGS+=     --mimetypes mime.types
    6377
  • package/fwwif/extra/c_exec.h

    r0e6ad45 r7dd2584  
    11/* $Id$ */
     2
     3#include <sys/types.h>
     4#include <sys/time.h>
     5#include <sys/resource.h>
     6#include <sys/wait.h>
    27
    38__BEGIN_DECLS
  • package/hello/extra/Makefile

    r0e6ad45 r7dd2584  
    55# for details.
    66
     7.ifndef NATIVE
    78XARCH=          mipsel
    89CDIAGFLAGS?=    -Wall -Wextra -std=gnu99
     
    1920CXXFLAGS+=      -I${CROSSROOT}/target/usr/include
    2021LDFLAGS+=       -L${CROSSROOT}/target/usr/lib
     22.else
     23.  include <bsd.own.mk>
     24STRIP?=         :
     25XARCH?=         *
     26CROSSROOT!=     echo ../../../cross_${XARCH}
     27CFLAGS+=        ${COPTS}
     28CFLAGS+=        -I${CROSSROOT}/host/include ${CDIAGFLAGS}
     29CXXFLAGS+=      -I${CROSSROOT}/host/include
     30LDFLAGS+=       -L${CROSSROOT}/host/lib
     31.endif
    2132
    2233all: hello.so
     
    3950ECPPC=          env ${EXTRA_ENV} ecppc
    4051TNTNET=         env ${EXTRA_ENV} tntnet
    41 CXXFLAGS+=      -fPIC -fno-builtin -nostdinc++
     52CXXFLAGS+=      -fPIC -fno-builtin
    4253CFLAGS+=        -fPIC -fno-builtin
    43 LDFLAGS+=       -shared -ltntnet -luClibc++ \
    44                 -liconv -lpthread -lcxxtools -nodefaultlibs
     54LDFLAGS+=       -shared -ltntnet -liconv -lpthread -lcxxtools
     55.ifndef NATIVE
     56CXXFLAGS+=      -nostdinc++
     57LDFLAGS+=       -nodefaultlibs -luClibc++
     58.endif
    4559ECPPFLAGS+=     --mimetypes mime.types
    4660
Note: See TracChangeset for help on using the changeset viewer.