Skip to content

Commit

Permalink
tests: don't use $COMPILE for building header tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thom311 committed May 6, 2024
1 parent 2155483 commit f44d38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ EXTRA_DIST += \
printf "#include <$$(echo "$<" | sed 's|.*\<include/netlink/|netlink/|')>\nint main(void) { return 0; }" > $@

%.build-headers-test.o: %.build-headers-test.c
$(COMPILE) -Wall -Werror -I$(srcdir)/include -I$(builddir)/include -c -o $@ $<
$(CC) -Wall -Werror -I$(srcdir)/include -I$(builddir)/include -c -o $@ $<

BUILD_HEADERS_OBJS = $(patsubst %,%.build-headers-test.o,$(public_headers))

Expand Down

0 comments on commit f44d38a

Please sign in to comment.