Skip to content

Commit

Permalink
Makefile: Add -fverbose-asm -masm=intel for %.s
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Apr 28, 2023
1 parent e8aab78 commit 08297ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3004,13 +3004,13 @@ $(OBJ_DIR)/%.o: %.c
$(AM_V_CC)mkdir -p $(@D) && $(CC) $(CFLAGS) -c $< -o $@

$(OBJ_DIR)/%.s: %.cc
$(AM_V_CC)mkdir -p $(@D) && $(CXX) $(CXXFLAGS) -S -Wa,-adhln $< -o $@ $(COVERAGEFLAGS)
$(AM_V_CC)mkdir -p $(@D) && $(CXX) $(CXXFLAGS) -Wa,-adhln -fverbose-asm -masm=intel -S $< -o $@ $(COVERAGEFLAGS)

$(OBJ_DIR)/%.s: %.cpp
$(AM_V_CC)mkdir -p $(@D) && $(CXX) $(CXXFLAGS) -S $< -o $@ $(COVERAGEFLAGS)
$(AM_V_CC)mkdir -p $(@D) && $(CXX) $(CXXFLAGS) -fverbose-asm -masm=intel -S $< -o $@ $(COVERAGEFLAGS)

$(OBJ_DIR)/%.s: %.c
$(AM_V_CC)mkdir -p $(@D) && $(CC) $(CFLAGS) -S $< -o $@
$(AM_V_CC)mkdir -p $(@D) && $(CC) $(CFLAGS) -fverbose-asm -masm=intel -S $< -o $@
endif

# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 08297ee

Please sign in to comment.