Skip to content

Commit d28334b

Browse files
authored
Fix makefile fragment for linux on arm (#147)
* Update comments describing configuration this makefile fragment supports. * Remove extra compiler options for suggested gcc build * Remove unnecessary -m32 option for suggested clang build * switch default compiler from clang to gcc
1 parent 0bbdf60 commit d28334b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/makefile-linux.armv7l-x

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# Options for Linux, Intel 386/486 and X-Window
1+
# Options for Linux, ARMv7 and X-Window
2+
3+
CC = gcc $(GCC_CFLAGS)
4+
#CC = clang $(CLANG_CFLAGS)
25

3-
#CC = gcc -m32 $(GCC_CFLAGS) -fno-omit-frame-pointer -Wall -Wextra -fno-aggressive-loop-optimizations
4-
CC = clang -m32 $(CLANG_CFLAGS)
56
XFILES = $(OBJECTDIR)xmkicon.o \
67
$(OBJECTDIR)xbbt.o \
78
$(OBJECTDIR)dspif.o \
@@ -12,7 +13,6 @@ XFILES = $(OBJECTDIR)xmkicon.o \
1213
$(OBJECTDIR)xrdopt.o \
1314
$(OBJECTDIR)xwinman.o
1415

15-
1616
XFLAGS = -DXWINDOW -DNOPIXRECT
1717

1818
# This is to make the %$#@! Apollo cc happy

0 commit comments

Comments
 (0)