mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
compile assembly files using different flags than C++ files
This is intended to fix the build error described here: http://groups.google.com/group/avian/msg/38b6619d6d8cac68
This commit is contained in:
parent
3b67417695
commit
708d2f1c0c
8
makefile
8
makefile
@ -337,11 +337,17 @@ define compile-object
|
||||
$(cxx) $(cflags) -c $(<) -o $(@)
|
||||
endef
|
||||
|
||||
define compile-asm-object
|
||||
@echo "compiling $(@)"
|
||||
@mkdir -p $(dir $(@))
|
||||
$(cc) -I$(src) -c $(<) -o $(@)
|
||||
endef
|
||||
|
||||
$(vm-cpp-objects): $(native-build)/%.o: $(src)/%.cpp $(vm-depends)
|
||||
$(compile-object)
|
||||
|
||||
$(vm-asm-objects): $(native-build)/%-asm.o: $(src)/%.S
|
||||
$(compile-object)
|
||||
$(compile-asm-object)
|
||||
|
||||
$(driver-object): $(driver-source)
|
||||
$(compile-object)
|
||||
|
Loading…
Reference in New Issue
Block a user