[PATCH] osmocom-bb[master]: VIRT-PHY: Remove non-overridable CFLAGS "-g -O0"

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jul 12 21:20:49 UTC 2017


Review at  https://gerrit.osmocom.org/3216

VIRT-PHY: Remove non-overridable CFLAGS "-g -O0"

If the user wants debugging / no optimziation, they can always pass the
related CFLAGS at ./configure time, there's no nee to have them
hard-coded in the actual Makefiles.

Change-Id: I6a2b30f946579bbd49bf66c4f59d160a975a1b56
---
M src/host/virt_phy/Makefile.am
M src/host/virt_phy/src/Makefile.am
2 files changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/16/3216/1

diff --git a/src/host/virt_phy/Makefile.am b/src/host/virt_phy/Makefile.am
index 57b4571..38bdf12 100644
--- a/src/host/virt_phy/Makefile.am
+++ b/src/host/virt_phy/Makefile.am
@@ -1,4 +1,2 @@
 SUBDIRS = src
 dist_doc_DATA = README
-
-CFLAGS = "-g -O0"
\ No newline at end of file
diff --git a/src/host/virt_phy/src/Makefile.am b/src/host/virt_phy/src/Makefile.am
index 6628bce..caaec04 100644
--- a/src/host/virt_phy/src/Makefile.am
+++ b/src/host/virt_phy/src/Makefile.am
@@ -1,8 +1,6 @@
 AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS)
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include  -I$(top_srcdir)/../layer23/include
 
-CFLAGS = "-g -O0"
-
 sbin_PROGRAMS = virtphy
 virtphy_SOURCES = virtphy.c l1ctl_sock.c gsmtapl1_if.c l1ctl_sap.c virt_prim_pm.c virt_prim_fbsb.c virt_prim_rach.c virt_prim_data.c virt_prim_traffic.c virt_l1_sched_simple.c logging.c virt_l1_model.c shared/virtual_um.c shared/osmo_mcast_sock.c shared/common_util.c
 virtphy_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) 

-- 
To view, visit https://gerrit.osmocom.org/3216
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a2b30f946579bbd49bf66c4f59d160a975a1b56
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list