asn.1/Makefile
branchENGINE-228
changeset 1973 7203d0b03b44
parent 1969 ba5eb0aa23a4
child 1993 efaeadf3e6f0
     1.1 --- a/asn.1/Makefile	Mon Aug 21 10:08:11 2017 +0000
     1.2 +++ b/asn.1/Makefile	Mon Aug 21 17:14:46 2017 +0200
     1.3 @@ -16,9 +16,8 @@
     1.4  generate: Sync-Protocols.c
     1.5  	rm -f converter-sample.c
     1.6  
     1.7 -# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
     1.8  %.o: %.c %.h
     1.9 -	$(CC) $(CFLAGS) -Wno-cpp -I. $(ASN1C_INC) -c $< -o $@
    1.10 +	$(CC) $(CFLAGS) $(CFLAGS_GENERATED) -I. $(ASN1C_INC) -c $< -o $@
    1.11  
    1.12  Sync-Protocols.c: pEp.asn1 devicegroup.asn1 protocols.asn1
    1.13  	$(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=PEP.Message $^