[ANNOUNCE] vdr-osdteletext-0.5.1

Message ID 4304991F.6050800@gmx.de
State New
Headers

Commit Message

Udo Richter Aug. 18, 2005, 2:20 p.m. UTC
  Hi.

Is this an intended change or just a debugging leftover?

Cheers,

Udo
  

Comments

Marcel Wiesweg Aug. 18, 2005, 10:11 p.m. UTC | #1
Am Donnerstag 18 August 2005 16:20 schrieb Udo Richter:
> Hi.
>
> Is this an intended change or just a debugging leftover?

This is for debugging, and it is intended.
I usually only need to recompile single files with -O0 if I need a clean 
backtrace. I found it more elegant to specifiy an environment variable for 
this than editing the Makefile (and forgetting to change it back).

Marcel

>
> --- Makefile    (.../release-0.5.0)     (Revision 572)
> +++ Makefile    (.../release-0.5.1)     (Revision 572)
> @@ -15,8 +15,8 @@
>
>  ### The C++ compiler and options:
>
> -# for debugging:
> -#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual
> +OPTLEVEL ?= 2
> +CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC
>
>  ### The directory environment:
>
> Cheers,
>
> Udo
  

Patch

--- Makefile    (.../release-0.5.0)     (Revision 572)
+++ Makefile    (.../release-0.5.1)     (Revision 572)
@@ -15,8 +15,8 @@ 

 ### The C++ compiler and options:

-# for debugging:
-#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual
+OPTLEVEL ?= 2
+CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC

 ### The directory environment: