Skip to content

Commit ae19494

Browse files
committed
samples: fix the flags used for includes
Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 06b98a7 commit ae19494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ all: $(BINS)
1717

1818
$(BINS): ../lib/ynl.a $(PROTOS) $(SRCS)
1919
@echo -e '\tCXX sample $@ '
20-
@$(COMPILE.cpp) $(CPPFLAGS_$@) $@.cpp -o $@.o
20+
@$(COMPILE.cpp) $(CFLAGS_$@) $@.cpp -o $@.o
2121
@$(LINK.cpp) $@.o -o $@ ../generated/$(patsubst %,%_lib.a,$@) $(LDLIBS)
2222

2323
clean:

0 commit comments

Comments
 (0)