[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS
From: |
Glenn Morris |
Subject: |
bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS |
Date: |
Tue, 29 Jun 2010 23:00:09 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Configuring Emacs 23.2 on Solaris 2.10 with a non-GNU cc, one gets
generated Makefiles containing:
CFLAGS=-g -O
Configuring the current trunk, one gets
CFLAGS=
The cause appears to be the removal of C_DEBUG_SWITCH.
It is possible other platforms are affected, I did not check (likewise
with LIBS_DEBUG).
The configure logic (faithfully inherited from cpp) is weird. Eg
C_OPTIMIZE_SWITCH goes unused with non-GNU compilers.
- bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS,
Glenn Morris <=