File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -193,17 +193,20 @@ endif
193
193
194
194
ifneq ($(filter armv6% ,$(UNAME_M ) ) ,)
195
195
# Raspberry Pi 1, Zero
196
- CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access
196
+ CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access
197
+ CXXFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access
197
198
endif
198
199
199
200
ifneq ($(filter armv7% ,$(UNAME_M ) ) ,)
200
201
# Raspberry Pi 2
201
- CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations
202
+ CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations
203
+ CXXFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations
202
204
endif
203
205
204
206
ifneq ($(filter armv8% ,$(UNAME_M ) ) ,)
205
207
# Raspberry Pi 3, 4, Zero 2 (32-bit)
206
- CFLAGS += -mfp16-format=ieee -mno-unaligned-access
208
+ CFLAGS += -mfp16-format=ieee -mno-unaligned-access
209
+ CXXFLAGS += -mfp16-format=ieee -mno-unaligned-access
207
210
endif
208
211
209
212
ifneq ($(filter ppc64% ,$(UNAME_M ) ) ,)
You can’t perform that action at this time.
0 commit comments