Skip to content

Commit cfdf1ee

Browse files
blauddendahlerlend
authored andcommitted
Bug#32876974 ADD HARDENING FLAGS TO STANDALONE BUILDS ON DEB/RPM
PLATFORMS. Additional patch to fix compilation warning/failure in ndb_cpcd, this is an internal NDB tool which has a "show version" command returning the time and date of compile. storage/ndb/src/cw/cpcd/APIService.cpp:403:44: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time] 403 | m_output->println("compile time: %s %s", __DATE__, __TIME__); | ^~~~~~~~ Fix by removing the compile time+date from "show version" in ndb_cpcd since it's not used by cpcd client. Change-Id: I6917ce31759b9706d546087c0835b5257bfe78ab (cherry picked from commit b2c02533af4e162333948d3a65e981247ff272e9)
1 parent 6c7292f commit cfdf1ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

storage/ndb/src/cw/cpcd/APIService.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ void CPCDAPISession::showVersion(Parser_t::Context & /* unused */,
400400

401401
m_output->println("show version");
402402

403-
m_output->println("compile time: %s %s", __DATE__, __TIME__);
404403
m_output->println("supported protocol: %u", CPCD::CPC_PROTOCOL_VERSION);
405404
m_output->println("effective protocol: %u", m_protocol_version);
406405
m_output->println("%s", "");

0 commit comments

Comments
 (0)