Skip to content

Commit

Permalink
fix linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Jan 14, 2025
1 parent 0f167bb commit f8c2c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Library/Include/arm_2d_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@
# include __ARM_2D_HAS_USER_HEADER__
#endif



#undef __IS_SUPPORTED_ARM_ARCH__
#if ( (defined(__ARM_ARCH) && __ARM_ARCH) \
|| defined(__TARGET_ARCH_ARM)) && !defined(__APPLE__)
#if (__ARM_ARCH_PROFILE == 'M') || defined(__TARGET_PROFILE_M)
# define __IS_SUPPORTED_ARM_ARCH__ 1
#else
# define __IS_SUPPORTED_ARM_ARCH__ 0
Expand Down
2 changes: 1 addition & 1 deletion examples/[template][pc][vscode]/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ else
CCFLAG += -w
LD_LIB := SDL2
LDFLAG += -Wl,--warn-common
LDFLAG += -Wl,--gc-sections
LDFLAG += -Wl,--gc-sections -lm
app: $(OUT)

endif
Expand Down

0 comments on commit f8c2c29

Please sign in to comment.