blob: 205bd870e479cecf5f4ef9bb3fd90bbc4cbc38c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
*** make/unix.mak.orig Thu Aug 28 08:39:18 2003
--- make/unix.mak Thu Aug 28 08:42:30 2003
*************** endif # linux
*** 338,348 ****
ifeq ($(OSTYPE),FreeBSD)
! ifeq ($(MACHTYPE),x86)
! ifdef CPUTYPE
! STDCCFLAGS += -mcpu=$(CPUTYPE)
! endif
! endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
--- 338,348 ----
ifeq ($(OSTYPE),FreeBSD)
! #ifeq ($(MACHTYPE),x86)
! #ifdef CPUTYPE
! #STDCCFLAGS += -mcpu=$(CPUTYPE)
! #endif
! #endif
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
*************** SHELL := /bin/sh
*** 871,881 ****
# Directories
! ifdef PREFIX
! UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
! else
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
! endif
ifndef UNIX_SRC_DIR
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
--- 871,881 ----
# Directories
! ##ifdef PREFIX
! ##UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
! ##else
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
! ##endif
ifndef UNIX_SRC_DIR
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
*************** LDFLAGS += $(DEBLDFLAGS)
*** 912,918 ****
else
ifneq ($(OSTYPE),Darwin)
! OPTCCFLAGS += -O3 -DNDEBUG
else
OPTCCFLAGS += -O2 -DNDEBUG
endif
--- 912,919 ----
else
ifneq ($(OSTYPE),Darwin)
! # OPTCCFLAGS += -O3 -DNDEBUG
! OPTCCFLAGS += -DNDEBUG
else
OPTCCFLAGS += -O2 -DNDEBUG
endif
|