Changeset 388 for trunk/nom


Ignore:
Timestamp:
Nov 28, 2008, 6:01:34 PM (17 years ago)
Author:
cinc
Message:

NOM compiles now on FreeBSD. The fame goes to gahr for the patches.

Location:
trunk/nom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/Makefile.kmk

    r353 r388  
    5858ifeq ($(BUILD_TARGET),darwin_)
    5959           libnomobjtk_LIBS += /opt/local/lib/libgc.dylib
     60endif
     61ifeq ($(BUILD_TARGET),freebsd)
     62           libnomobjtk_LIBS += /usr/local/lib/libgc$(SUFF_DLL)
    6063else
    61  libnomobjtk_LIBS += $(PATH_LIB)/libnomgc$(SUFF_DLL)
     64          libnomobjtk_LIBS += $(PATH_LIB)/libnomgc$(SUFF_DLL)
    6265endif
    6366
  • trunk/nom/src/nombuildclass.c

    r331 r388  
    4646#include <string.h>
    4747#include <stdlib.h>
    48 #if !defined(_MSC_VER)
     48#if !defined(_MSC_VER) && !defined(__FreeBSD__)
    4949# include <alloca.h>
    5050#endif
Note: See TracChangeset for help on using the changeset viewer.