jamesge commented on a change in pull request #984: fix_missing_brpc_version_in_release URL: https://github.com/apache/incubator-brpc/pull/984#discussion_r354244156
########## File path: Makefile ########## @@ -23,7 +23,7 @@ include config.mk # 2. Added -D__const__= : Avoid over-optimizations of TLS variables by GCC>=4.8 # 3. Removed -Werror: Not block compilation for non-vital warnings, especially when the # code is tested on newer systems. If the code is used in production, add -Werror back -CPPFLAGS+=-DBTHREAD_USE_FAST_PTHREAD_MUTEX -D__const__= -D_GNU_SOURCE -DUSE_SYMBOLIZE -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DBRPC_REVISION=\"$(shell git rev-parse --short HEAD)\" +CPPFLAGS+=-DBTHREAD_USE_FAST_PTHREAD_MUTEX -D__const__= -D_GNU_SOURCE -DUSE_SYMBOLIZE -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DBRPC_REVISION=\"$(shell bash tools/get_brpc_version.sh .)\" Review comment: shell里就不要加bash前缀了,没有x权限加上。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
