mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
make: Explicitly set cc compatibility
This is apparently necessary to build `lightningd` on debian jessie, which uses an older gcc version.
This commit is contained in:
2
Makefile
2
Makefile
@@ -209,7 +209,7 @@ WIRE_GEN := tools/generate-wire.py
|
||||
PROGRAMS := $(TEST_PROGRAMS)
|
||||
|
||||
CWARNFLAGS := -Werror -Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition
|
||||
CDEBUGFLAGS := -g -fstack-protector
|
||||
CDEBUGFLAGS := -std=gnu11 -g -fstack-protector
|
||||
CFLAGS := $(CWARNFLAGS) $(CDEBUGFLAGS) -I $(CCANDIR) -I libwally-core/src/secp256k1/include/ -I libwally-core/include/ -I libsodium/src/libsodium/include/ -I . $(FEATURES) $(COVFLAGS) -DSHACHAIN_BITS=48
|
||||
|
||||
LDLIBS := -lprotobuf-c -lgmp -lsqlite3 $(COVFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user