aboutsummaryrefslogtreecommitdiff
path: root/devel/pwlib152/files/patch-unix
blob: 945ad223fb833acb556ef12e0d20f6ac0dc71c57 (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 Jul 24 22:01:42 2003
--- make/unix.mak	Fri Jun  3 15:13:47 2005
***************
*** 358,368 ****
  
  ifeq ($(OSTYPE),FreeBSD)
  
! ifeq ($(MACHTYPE),x86)
! ifdef CPUTYPE
! STDCCFLAGS	+= -mcpu=$(CPUTYPE)
! endif
! endif
  
  ifndef OSRELEASE
  OSRELEASE	:= $(shell sysctl -n kern.osreldate)
--- 358,368 ----
  
  ifeq ($(OSTYPE),FreeBSD)
  
! #ifeq ($(MACHTYPE),x86)
! #ifdef CPUTYPE
! #STDCCFLAGS	+= -mcpu=$(CPUTYPE)
! #endif
! #endif
  
  ifndef OSRELEASE
  OSRELEASE	:= $(shell sysctl -n kern.osreldate)
***************
*** 891,901 ****
  
  # 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
--- 891,901 ----
  
  # 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
***************
*** 932,938 ****
  else
  
  ifneq ($(OSTYPE),Darwin)
!   OPTCCFLAGS	+= -Os -DNDEBUG
  else
    OPTCCFLAGS	+= -O2 -DNDEBUG
  endif
--- 932,939 ----
  else
  
  ifneq ($(OSTYPE),Darwin)
! #  OPTCCFLAGS	+= -Os -DNDEBUG
!   OPTCCFLAGS	+= -DNDEBUG
  else
    OPTCCFLAGS	+= -O2 -DNDEBUG
  endif