Skip to content

Commit

Permalink
Update gcc flags to build json2cbor with gcc 4.4.7 (used in CentOS 6)
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Yegupov <kyegupov4@gmail.com>
  • Loading branch information
kyegupov authored and thiagomacieira committed Mar 31, 2018
1 parent 70aba6b commit 8606611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -217,7 +217,7 @@ tag: distcheck
.SECONDARY:

cflags := $(CPPFLAGS) -I$(SRCDIR)src
cflags += -std=c99 $(CFLAGS)
cflags += -std=gnu99 $(CFLAGS)
%.o: %.c
@test -d $(@D) || $(MKDIR) $(@D)
$(CC) $(cflags) $($(basename $(notdir $@))_CCFLAGS) -c -o $@ $<
Expand Down

0 comments on commit 8606611

Please sign in to comment.