2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* ChangeLog
  * mpkg_tgz.sh
  * harbour.spec
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/rsx32.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/w32/mingwce.cf
  * config/w32/gcc.cf
  * config/w32/rsxnt.cf
  * config/w32/mingw.cf
    + -O3 GCC optimization level made the default for all GCC 
      builds. Those who wish to use lower optimization settings, 
      pls use C_USR=-O2 or such.
This commit is contained in:
Viktor Szakats
2008-09-29 14:02:59 +00:00
parent aba8190d72
commit aa271fcd82
15 changed files with 34 additions and 14 deletions

View File

@@ -8,6 +8,26 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-09-29 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* ChangeLog
* mpkg_tgz.sh
* harbour.spec
* config/darwin/gcc.cf
* config/hpux/gcc.cf
* config/dos/rsx32.cf
* config/dos/djgpp.cf
* config/linux/gcc.cf
* config/os2/gcc.cf
* config/sunos/gcc.cf
* config/bsd/gcc.cf
* config/w32/mingwce.cf
* config/w32/gcc.cf
* config/w32/rsxnt.cf
* config/w32/mingw.cf
+ -O3 GCC optimization level made the default for all GCC
builds. Those who wish to use lower optimization settings,
pls use C_USR=-O2 or such.
2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/workarea.c
* added protection against multiple registering RDD with the same

View File

@@ -13,7 +13,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -W -Wall
CFLAGS = -Wall -W -O3
LD = gcc
LD_OUT = -o

View File

@@ -21,7 +21,7 @@ CC_OUT = -o$(subst x,x, )
CPPFLAGS = -no-cpp-precomp -I. -I$(HB_INC_COMPILE)
# -fno-common enables building .dylib files
CFLAGS = -fno-common -Wall -W
CFLAGS = -fno-common -Wall -W -O3
# It's to avoid warning message generated when 'long double' is used
# remove it if you have newer compiler version

View File

@@ -13,7 +13,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
LD = gcc
LD_OUT = -o

View File

@@ -14,7 +14,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE) -Zrsx32
CFLAGS = -Wall
CFLAGS = -Wall -W -O3
LD = gcc
LDFLAGS = -Zrsx32

View File

@@ -14,7 +14,7 @@ CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
LDFLAGS =
# uncomment this if you want to force relocatable code for .so libs

View File

@@ -20,7 +20,7 @@ CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
# uncomment this if you want to force relocateable code for .so libs
# it's necessary on some platforms but can reduce performance

View File

@@ -13,7 +13,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -W -Wall -O2
CFLAGS = -Wall -W -O3
# 26/03/2004 - <maurilio.longo@libero.it>
# added -DTCPV40HDRS to compile with GCC 3.2.2 on OS/2 v4.0 with mixed

View File

@@ -14,7 +14,7 @@ CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
# uncomment this if you want to force relocatable code for .so libs
# it's necessary on some platforms but can reduce performance

View File

@@ -13,7 +13,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
LD = gcc
LD_OUT = -o

View File

@@ -13,7 +13,7 @@ CC = $(CCPREFIX)gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
LD = $(CCPREFIX)gcc
LD_OUT = -o

View File

@@ -13,7 +13,7 @@ CC = $(CCPREFIX)gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE)
CFLAGS = -Wall -W
CFLAGS = -Wall -W -O3
LD = $(CCPREFIX)gcc
LD_OUT = -o

View File

@@ -13,7 +13,7 @@ CC = gcc
CC_IN = -c
CC_OUT = -o
CPPFLAGS = -I. -I$(HB_INC_COMPILE) -Zwin32
CFLAGS = -Wall
CFLAGS = -Wall -W -O3
LD = gcc
LDFLAGS = -Zwin32

View File

@@ -67,7 +67,7 @@
%define hb_pref hb
%define hb_arch export HB_ARCHITECTURE=linux
%define hb_cc export HB_COMPILER=gcc
%define hb_cflag export C_USR="-O3 -DHB_FM_STATISTICS_OFF"
%define hb_cflag export C_USR="-DHB_FM_STATISTICS_OFF"
%define hb_lflag export L_USR="${CC_L_USR} %{?_with_static:-static}"
%define hb_gpm export HB_GPM_MOUSE=%{!?_without_gpm:yes}
%define hb_crs export HB_WITHOUT_GTCRS=%{?_without_gtcrs:yes}

View File

@@ -29,7 +29,7 @@ hb_pref="hb"
hb_contrib=""
hb_sysdir="yes"
hb_exesuf=""
export C_USR="$C_USR -DHB_FM_STATISTICS_OFF -O3"
export C_USR="$C_USR -DHB_FM_STATISTICS_OFF"
[ -z "$HB_INSTALL_PREFIX" ] && [ -n "$PREFIX" ] && export HB_INSTALL_PREFIX="$PREFIX"