Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android/ARM build support #5848

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

noob6t5
Copy link

@noob6t5 noob6t5 commented Nov 23, 2024

Proposed changes

In this PR I have make changes that let's nuclei to support running in android.

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@GeorginaReeder
Copy link

Thanks for your contribution @noob6t5 !

Comment on lines +29 to +34
ifneq ($(shell go env GOARCH), arm)
GOARCH=arm
endif
ifneq ($(shell go env GOOS), android)
GOOS=android
endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn’t affect anything, you’re not overwriting anything for the build.

Copy link
Author

@noob6t5 noob6t5 Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bro , i did some changes
IMG_20241126_192339.jpg

Copy link
Member

@dwisiswant0 dwisiswant0 Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I thought it was an ifeq expression.

If that’s the case, it’ll force the build for the android regardless of the current OS & arch env, which will break the entire workflow.

Copy link
Author

@noob6t5 noob6t5 Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it won't break
Please Can you also take a look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants