Use ifneq instead of ifdef for CROSS option

This commit is contained in:
Martin Kroeker 2020-11-22 16:33:34 +01:00 committed by GitHub
parent 857afcc41d
commit ebb8788696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ $(UTESTBIN): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
run_test: $(UTESTBIN)
ifndef CROSS
ifneq ($(CROSS), 1)
./$(UTESTBIN)
endif