1.1 --- a/stage2/Makefile Tue Feb 23 23:57:53 2016 +0100
1.2 +++ b/stage2/Makefile Wed Feb 24 16:11:43 2016 +0100
1.3 @@ -1,6 +1,6 @@
1.4 # Makefile - Build the NanoNote payload
1.5 #
1.6 -# Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.7 +# Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 # Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
1.9 #
1.10 # This program is free software: you can redistribute it and/or modify
1.11 @@ -30,7 +30,7 @@
1.12
1.13 CFLAGS = -O2 -Wall \
1.14 -fno-unit-at-a-time -fno-zero-initialized-in-bss \
1.15 - -ffreestanding -fno-hosted -fno-builtin \
1.16 + -ffreestanding -fno-hosted -fno-builtin -fPIC \
1.17 -march=mips32 \
1.18 -I../include
1.19 LDFLAGS = -nostdlib -EL