Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
delete the CFLAGS  -march  xcki
  • Loading branch information
mballackh13 authored Dec 31, 2021
1 parent edcf6fe commit 83e2975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ DEFSYM = $(shell echo ${CPU} | sed 's/\(e9[0-9]\{2\}\).*/\1/')
CPU_M = $(shell echo ${CPU} | sed '/m/p')

ifeq ($(findstring e902m, ${CPU_M}), e902m)
CFLAGS = -march=rv32emcxcki -mabi=ilp32e
CFLAGS = -march=rv32emc -mabi=ilp32e
LDFLAGS = -march=rv32emc -mabi=ilp32e
else
CFLAGS = -march=rv32ecxcki -mabi=ilp32e
CFLAGS = -march=rv32ec -mabi=ilp32e
LDFLAGS = -march=rv32ec -mabi=ilp32e
endif

Expand Down

0 comments on commit 83e2975

Please sign in to comment.