SDC: Don't set SDC_DEBUG macro
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
diff --git a/sdc-plugin/Makefile b/sdc-plugin/Makefile
index 3b4628a..b4694ca 100644
--- a/sdc-plugin/Makefile
+++ b/sdc-plugin/Makefile
@@ -1,5 +1,5 @@
CXX = $(shell yosys-config --cxx)
-CXXFLAGS = $(shell yosys-config --cxxflags) -DSDC_DEBUG
+CXXFLAGS = $(shell yosys-config --cxxflags)
LDFLAGS = $(shell yosys-config --ldflags)
LDLIBS = $(shell yosys-config --ldlibs)
PLUGINS_DIR = $(shell yosys-config --datdir)/plugins
diff --git a/sdc-plugin/clocks.cc b/sdc-plugin/clocks.cc
index e0c7e9d..85de7a6 100644
--- a/sdc-plugin/clocks.cc
+++ b/sdc-plugin/clocks.cc
@@ -78,8 +78,8 @@
log("create_clock -period %f -name %s -waveform {%f %f} %s\n",
clock.Period(), clock.Name().c_str(), clock.RisingEdge(),
clock.FallingEdge(), ss.str().c_str());
- }
#endif
+ }
return res;
}