Skip to content

Commit

Permalink
Makefile syntax doesn't like recursive var values
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jan 23, 2022
1 parent 3985205 commit 256a204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples_RPi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ ifeq "$(RPI)" "1"
# The recommended compiler flags for the Raspberry Pi
CCFLAGS=-Ofast -mfpu=vfp -mfloat-abi=hard -march=$(ARCH) -mtune=arm1176jzf-s -std=c++0x
ifeq "$(pigpio_detected)" "1"
CCFLAGS=$(CCFLAGS) -lpigpio
CCFLAGS=-Ofast -mfpu=vfp -mfloat-abi=hard -march=$(ARCH) -mtune=arm1176jzf-s -std=c++0x -lpigpio
endif
else
CCFLAGS=$(CCFLAGS) -DRF24_NO_INTERRUPT
CCFLAGS=-DRF24_NO_INTERRUPT
endif

# define all programs
Expand Down

0 comments on commit 256a204

Please sign in to comment.